@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "athena-patientInsurance-profile"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

Generated Narrative: StructureDefinition athena-patientInsurance-profile

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" athena-patientInsurance-profile 0..*BaseInstances of this logical model are not marked to be the target of a Reference
\".\"\".\"\".\" id SΣ1..1idLogical id of this artifact
\".\"\".\"\".\" meta Σ0..1MetaMetadata about the resource
\".\"\".\"\".\" pid Σ1..1integerPID is internal numeric value used in the Chart module and clinical data. This will be the same as the resource id in the Patient resource.
\".\"\".\"\".\" patient 0..1Reference(Patient)Who/what is the patient of the patientInsurance
\".\"\".\"\".\"\".\" reference 0..1stringReference to the Patient
\".\"\".\"\".\"\".\" display 0..1stringPatient name
\".\"\".\"\".\" patientProfileId SΣ1..1unsignedIntPatient specific id for practice management data including financial information
\".\"\".\"\".\" insuranceCarrier 0..1Reference(Organization)Insurance carrier refernce
\".\"\".\"\".\"\".\" reference 0..1stringInsurance Carrier Id refering to Organization
\".\"\".\"\".\"\".\" display 0..1stringInsurance carrier Name
\".\"\".\"\".\" patientSameAsGuarantor 0..1unsignedIntPatient relationship with Guarantor
\".\"\".\"\".\" guarantor 0..1Reference(guarantor)Reference to RelatedPerson
\".\"\".\"\".\"\".\" reference 0..1stringGuarantorId refering to Related person
\".\"\".\"\".\"\".\" display 0..1stringGuarantor Name
\".\"\".\"\".\" orderForClaims 0..1decimalNumber of Claim orders
\".\"\".\"\".\" inActive 0..1booleanInsurance status
\".\"\".\"\".\" insuredID 0..1stringInsured ID for the Insurance.
\".\"\".\"\".\" practitioner 0..1Reference(Practitioner)Practitioner reference for insurance.
\".\"\".\"\".\"\".\" reference 0..1stringDoctorId refering to Practitioner
\".\"\".\"\".\"\".\" display 0..1stringPractitioner Name
\".\"\".\"\".\" facility 0..1stringFacility associated to insurance plan
\".\"\".\"\".\" financialClass 0..1stringFinancial Class description
\".\"\".\"\".\" insuranceGroup 0..1stringInsurance Group

\"doco\" Documentation for this format
" ] ; # fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-patientInsurance-profile"^^xsd:anyURI] ; # fhir:version [ fhir:v "23.1.0"] ; # fhir:name [ fhir:v "PatientInsurance"] ; # fhir:title [ fhir:v "Profile - Athena Custom PatientInsurance"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-03-01"^^xsd:date] ; # fhir:publisher [ fhir:v "athenahealth"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://athenahealth.com" ] ] ) ] ) ; # fhir:description [ fhir:v "The patientInsurance describes a health insurance offering comprised of a list of covered benefits (i.e. the product), costs associated with those benefits (i.e. the plan), and additional information about the offering, such as who it is owned and administered by, a coverage area, contact information, etc.."] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ] ) ] ) ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:kind [ fhir:v "logical"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-patientInsurance-profile"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ; fhir:link ] ; # fhir:derivation [ fhir:v "specialization"] ; # fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "athena-patientInsurance-profile" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Base" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.id" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.meta" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:comment [ fhir:v "Unique Id for this particular athena-patientInsurance-profile." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.meta" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.pid" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.pid" ] ; fhir:short [ fhir:v "PID is internal numeric value used in the Chart module and clinical data. This will be the same as the resource id in the Patient resource." ] ; fhir:definition [ fhir:v "Patient identifier for patientInsurance data." ] ; fhir:comment [ fhir:v "Patient-identifier." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.pid" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient" ] ; fhir:short [ fhir:v "Who/what is the patient of the patientInsurance" ] ; fhir:definition [ fhir:v "Who or what the patientInsurance is about. The patientInsurance can be about a person." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.patient" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ref-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "SHALL have a contained resource if a local reference is provided" ] ; fhir:expression [ fhir:v "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" ] ; fhir:xpath [ fhir:v "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.extension" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.reference" ] ; fhir:short [ fhir:v "Reference to the Patient" ] ; fhir:definition [ fhir:v "Who or what the patientInsurance is about. The patientInsurance can be about a person." ] ; fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "ref-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.type" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.identifier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.display" ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.display" ] ; fhir:short [ fhir:v "Patient name" ] ; fhir:definition [ fhir:v "Patient name for the patientInsurance is about." ] ; fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patientProfileId" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patientProfileId" ] ; fhir:short [ fhir:v "Patient specific id for practice management data including financial information" ] ; fhir:definition [ fhir:v "Internal ID of patient used in non-clinical practice management data." ] ; fhir:comment [ fhir:v "Patient profile ID" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.patientProfileId" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier" ] ; fhir:short [ fhir:v "Insurance carrier refernce" ] ; fhir:definition [ fhir:v "Reference to Organization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ref-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "SHALL have a contained resource if a local reference is provided" ] ; fhir:expression [ fhir:v "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" ] ; fhir:xpath [ fhir:v "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.extension" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.reference" ] ; fhir:short [ fhir:v "Insurance Carrier Id refering to Organization" ] ; fhir:definition [ fhir:v "Reference to Organization" ] ; fhir:comment [ fhir:v "Insurance Carrier Id refering to Organization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "ref-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.type" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.identifier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.display" ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.display" ] ; fhir:short [ fhir:v "Insurance carrier Name" ] ; fhir:definition [ fhir:v "Name of the the insurance Carrier" ] ; fhir:comment [ fhir:v "Insurance carrier Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patientSameAsGuarantor" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patientSameAsGuarantor" ] ; fhir:short [ fhir:v "Patient relationship with Guarantor" ] ; fhir:definition [ fhir:v "Patient relationship with Guarantor" ] ; fhir:comment [ fhir:v "Relations with patient" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.patientSameAsGuarantor" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor" ] ; fhir:short [ fhir:v "Reference to RelatedPerson" ] ; fhir:definition [ fhir:v "Guarantor reference for patient." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/guarantor"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ref-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "SHALL have a contained resource if a local reference is provided" ] ; fhir:expression [ fhir:v "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" ] ; fhir:xpath [ fhir:v "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.extension" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.reference" ] ; fhir:short [ fhir:v "GuarantorId refering to Related person" ] ; fhir:definition [ fhir:v "Reference to guarantor" ] ; fhir:comment [ fhir:v "DoctorId refering to guarantor" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "ref-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.type" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.identifier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.display" ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.display" ] ; fhir:short [ fhir:v "Guarantor Name" ] ; fhir:definition [ fhir:v "Name of the the guarantor" ] ; fhir:comment [ fhir:v "Guarantor Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.orderForClaims" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.orderForClaims" ] ; fhir:short [ fhir:v "Number of Claim orders" ] ; fhir:definition [ fhir:v "Claim order" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.orderForClaims" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "decimal"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.inActive" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.inActive" ] ; fhir:short [ fhir:v "Insurance status" ] ; fhir:definition [ fhir:v "Status of Insurance Plan" ] ; fhir:comment [ fhir:v "PatientInsurance status" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.inActive" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuredID" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuredID" ] ; fhir:short [ fhir:v "Insured ID for the Insurance." ] ; fhir:definition [ fhir:v "Insured ID for the Insurance." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.insuredID" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner" ] ; fhir:short [ fhir:v "Practitioner reference for insurance." ] ; fhir:definition [ fhir:v "Reference to Practitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ref-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "SHALL have a contained resource if a local reference is provided" ] ; fhir:expression [ fhir:v "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" ] ; fhir:xpath [ fhir:v "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.extension" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.reference" ] ; fhir:short [ fhir:v "DoctorId refering to Practitioner" ] ; fhir:definition [ fhir:v "Reference to Practitioner" ] ; fhir:comment [ fhir:v "DoctorId refering to Practitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "ref-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.type" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.identifier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.display" ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.display" ] ; fhir:short [ fhir:v "Practitioner Name" ] ; fhir:definition [ fhir:v "Name of the the Practitioner" ] ; fhir:comment [ fhir:v "Practitioner Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.facility" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.facility" ] ; fhir:short [ fhir:v "Facility associated to insurance plan" ] ; fhir:definition [ fhir:v "Name with which Doctor or facility is associated" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.facility" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.financialClass" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.financialClass" ] ; fhir:short [ fhir:v "Financial Class description" ] ; fhir:definition [ fhir:v "Financial Class description" ] ; fhir:comment [ fhir:v "Financial Class description" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.financialClass" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceGroup" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceGroup" ] ; fhir:short [ fhir:v "Insurance Group" ] ; fhir:definition [ fhir:v "Insurance Group description" ] ; fhir:comment [ fhir:v "Insurance Group" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceGroup" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] ) ] ; # fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "athena-patientInsurance-profile" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile" ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.id" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.meta" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:comment [ fhir:v "Unique Id for this particular athena-patientInsurance-profile." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.pid" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.pid" ] ; fhir:short [ fhir:v "PID is internal numeric value used in the Chart module and clinical data. This will be the same as the resource id in the Patient resource." ] ; fhir:definition [ fhir:v "Patient identifier for patientInsurance data." ] ; fhir:comment [ fhir:v "Patient-identifier." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient" ] ; fhir:short [ fhir:v "Who/what is the patient of the patientInsurance" ] ; fhir:definition [ fhir:v "Who or what the patientInsurance is about. The patientInsurance can be about a person." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link ] ) ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.reference" ] ; fhir:short [ fhir:v "Reference to the Patient" ] ; fhir:definition [ fhir:v "Who or what the patientInsurance is about. The patientInsurance can be about a person." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patient.display" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patient.display" ] ; fhir:short [ fhir:v "Patient name" ] ; fhir:definition [ fhir:v "Patient name for the patientInsurance is about." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "athena-patientInsurance-profile.patient.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patientProfileId" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patientProfileId" ] ; fhir:short [ fhir:v "Patient specific id for practice management data including financial information" ] ; fhir:definition [ fhir:v "Internal ID of patient used in non-clinical practice management data." ] ; fhir:comment [ fhir:v "Patient profile ID" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier" ] ; fhir:short [ fhir:v "Insurance carrier refernce" ] ; fhir:definition [ fhir:v "Reference to Organization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link ] ) ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.reference" ] ; fhir:short [ fhir:v "Insurance Carrier Id refering to Organization" ] ; fhir:definition [ fhir:v "Reference to Organization" ] ; fhir:comment [ fhir:v "Insurance Carrier Id refering to Organization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.display" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceCarrier.display" ] ; fhir:short [ fhir:v "Insurance carrier Name" ] ; fhir:definition [ fhir:v "Name of the the insurance Carrier" ] ; fhir:comment [ fhir:v "Insurance carrier Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.patientSameAsGuarantor" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.patientSameAsGuarantor" ] ; fhir:short [ fhir:v "Patient relationship with Guarantor" ] ; fhir:definition [ fhir:v "Patient relationship with Guarantor" ] ; fhir:comment [ fhir:v "Relations with patient" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor" ] ; fhir:short [ fhir:v "Reference to RelatedPerson" ] ; fhir:definition [ fhir:v "Guarantor reference for patient." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/guarantor"^^xsd:anyURI ; fhir:link ] ) ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.reference" ] ; fhir:short [ fhir:v "GuarantorId refering to Related person" ] ; fhir:definition [ fhir:v "Reference to guarantor" ] ; fhir:comment [ fhir:v "DoctorId refering to guarantor" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.guarantor.display" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.guarantor.display" ] ; fhir:short [ fhir:v "Guarantor Name" ] ; fhir:definition [ fhir:v "Name of the the guarantor" ] ; fhir:comment [ fhir:v "Guarantor Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.orderForClaims" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.orderForClaims" ] ; fhir:short [ fhir:v "Number of Claim orders" ] ; fhir:definition [ fhir:v "Claim order" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "decimal"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.inActive" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.inActive" ] ; fhir:short [ fhir:v "Insurance status" ] ; fhir:definition [ fhir:v "Status of Insurance Plan" ] ; fhir:comment [ fhir:v "PatientInsurance status" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuredID" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuredID" ] ; fhir:short [ fhir:v "Insured ID for the Insurance." ] ; fhir:definition [ fhir:v "Insured ID for the Insurance." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner" ] ; fhir:short [ fhir:v "Practitioner reference for insurance." ] ; fhir:definition [ fhir:v "Reference to Practitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.reference" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.reference" ] ; fhir:short [ fhir:v "DoctorId refering to Practitioner" ] ; fhir:definition [ fhir:v "Reference to Practitioner" ] ; fhir:comment [ fhir:v "DoctorId refering to Practitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.practitioner.display" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.practitioner.display" ] ; fhir:short [ fhir:v "Practitioner Name" ] ; fhir:definition [ fhir:v "Name of the the Practitioner" ] ; fhir:comment [ fhir:v "Practitioner Name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.facility" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.facility" ] ; fhir:short [ fhir:v "Facility associated to insurance plan" ] ; fhir:definition [ fhir:v "Name with which Doctor or facility is associated" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.financialClass" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.financialClass" ] ; fhir:short [ fhir:v "Financial Class description" ] ; fhir:definition [ fhir:v "Financial Class description" ] ; fhir:comment [ fhir:v "Financial Class description" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "athena-patientInsurance-profile.insuranceGroup" ] ; fhir:path [ fhir:v "athena-patientInsurance-profile.insuranceGroup" ] ; fhir:short [ fhir:v "Insurance Group" ] ; fhir:definition [ fhir:v "Insurance Group description" ] ; fhir:comment [ fhir:v "Insurance Group" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] ) ] . # # -------------------------------------------------------------------------------------