Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

  Compartment Encounter

Example Claim/100156 (Turtle)

SubstanceReferenceInformation
FHIR Infrastructure Financial Management Work Group Maturity Level : N/A Standards Status : Trial Use Formal URI http://hl7.org/fhir/compartment/Encounter Description The set of resources associated with a particular encounter Identity There is an instance of the encounter compartment for each encounter resource, and the identity of the compartment is the same as the encounter Membership The encounter compartment includes any resources where the resource has an explicitly nominated encounter, and some other resources that themselves link to resources in the encounter compartment. Note that for many resources, the exact nature of the link to encounter can be ambiguous (e.g. for a DiagnosticReport, is it the encounter when it was initiated, or when it was reported?) Formal Definition CompartmentDefinition resource: XML or JSON Resource based membership rules: The following resources may be in this compartment: Resource Inclusion Criteria CarePlan encounter CareTeam encounter ChargeItem context Claim encounter ClinicalImpression encounter Communication encounter CommunicationRequest encounter Composition encounter Condition encounter DeviceRequest encounter DiagnosticReport encounter DocumentManifest related-ref DocumentReference encounter ExplanationOfBenefit encounter Media encounter MedicationAdministration context MedicationRequest encounter NutritionOrder encounter Observation encounter Procedure encounter QuestionnaireResponse encounter RequestGroup encounter ServiceRequest encounter VisionPrescription Informative encounter A resource is in this compartment if the nominated search parameter (or chain) refers to the patient resource that defines the compartment. The following resources are never in this compartment: Account ActivityDefinition AdverseEvent AllergyIntolerance Appointment AppointmentResponse AuditEvent Basic Binary BiologicallyDerivedProduct BodyStructure Bundle CapabilityStatement CatalogEntry ChargeItemDefinition ClaimResponse CodeSystem CompartmentDefinition ConceptMap Consent Contract Coverage CoverageEligibilityRequest CoverageEligibilityResponse DetectedIssue Compartments : Device DeviceDefinition DeviceMetric DeviceUseStatement EffectEvidenceSynthesis Endpoint EnrollmentRequest EnrollmentResponse EpisodeOfCare EventDefinition Evidence EvidenceVariable ExampleScenario FamilyMemberHistory Flag Goal GraphDefinition Group GuidanceResponse HealthcareService ImagingStudy Immunization ImmunizationEvaluation ImmunizationRecommendation ImplementationGuide InsurancePlan Invoice Library Linkage List Location Measure MeasureReport Medication MedicationDispense MedicationKnowledge MedicationStatement MedicinalProduct MedicinalProductAuthorization MedicinalProductContraindication MedicinalProductIndication MedicinalProductIngredient MedicinalProductInteraction MedicinalProductManufactured MedicinalProductPackaged MedicinalProductPharmaceutical MedicinalProductUndesirableEffect MessageDefinition MessageHeader MolecularSequence NamingSystem ObservationDefinition OperationDefinition OperationOutcome Organization OrganizationAffiliation , Encounter , Patient PaymentNotice PaymentReconciliation Person PlanDefinition , Practitioner PractitionerRole Provenance Questionnaire , RelatedPerson ResearchDefinition ResearchElementDefinition ResearchStudy ResearchSubject RiskAssessment RiskEvidenceSynthesis Schedule SearchParameter Slot Specimen SpecimenDefinition StructureDefinition StructureMap Subscription Substance SubstanceNucleicAcid SubstancePolymer SubstanceProtein
SubstanceSourceMaterial

Raw Turtle VerificationResult (+ also see Turtle/RDF Format Specification )

See information about compartments . PreAuthorization with Bridge and Crown

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Claim ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "100156"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the Oral Health Claim</div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Device ;
     fhir:id [ fhir:v "device-bridge" ]
  ] [
     a fhir:ServiceRequest ;
     fhir:id [ fhir:v "referral" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:intent [ fhir:v "order" ] ;
     fhir:subject [
       fhir:reference [ fhir:v "Patient/1" ]
     ]
  ] ) ; #   rest of the resource ommitted for brevity  
  fhir:identifier ( [
     fhir:system [ fhir:v "http://happyvalley.com/claim"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123466" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/claim-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "oral" ]
     ] )
  ] ; # 
  fhir:use [ fhir:v "claim"] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/1" ]
  ] ; # 
  fhir:created [ fhir:v "2014-08-16"^^xsd:date] ; # 
  fhir:insurer [
     fhir:reference [ fhir:v "Organization/2" ]
  ] ; # 
  fhir:provider [
     fhir:reference [ fhir:v "Organization/1" ]
  ] ; # 
  fhir:priority [
     fhir:coding ( [
       fhir:code [ fhir:v "normal" ]
     ] )
  ] ; # 
  fhir:related ( [
     fhir:claim [
       fhir:reference [ fhir:v "Claim/100151" ]
     ] ;
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "associated" ]
       ] )
     ] ;
     fhir:reference [
       fhir:value [ fhir:v "CASE156746B" ]
     ] #   case number  
  ] ) ; # 
  fhir:payee [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/payeetype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "other" ]
       ] )
     ] ;
     fhir:party [
       fhir:reference [ fhir:v "RelatedPerson/peter" ]
     ]
  ] ; # 
  fhir:referral [
     fhir:reference [ fhir:v "#referral" ]
  ] ; # 
  fhir:careTeam ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:provider [
       fhir:reference [ fhir:v "Practitioner/example" ]
     ]
  ] ) ; # 
  fhir:supportingInfo ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:category [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/claiminformationcategory"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "prosthesis" ]
       ] )
     ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/ex-oralprostho"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2" ] ;
         fhir:display [ fhir:v "Maryland Bridge" ]
       ] )
     ] ;
     fhir:timing [ fhir:v "2001-04-07"^^xsd:date ]
  ] ) ; #   original placement  
  fhir:procedure ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:date [ fhir:v "2014-07-04"^^xsd:date ] ;
     fhir:procedure [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "Resection of gum to increase exposed tooth." ]
     ]
  ] ) ; # 
  fhir:insurance ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:focal [ fhir:v "true"^^xsd:boolean ] ;
     fhir:coverage [
       fhir:reference [ fhir:v "Coverage/9876B1" ]
     ]
  ] ) ; # 
  fhir:item ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:careTeamSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:informationSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:productOrService [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org/fhir/oralservicecodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "67221" ] ;
         fhir:display [ fhir:v "Maryland Bridge" ]
       ] )
     ] ;
     fhir:serviced [ fhir:v "2014-08-16"^^xsd:date ] ;
     fhir:location [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-serviceplace"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "11" ]
       ] )
     ] ;
     fhir:unitPrice [
       fhir:value [ fhir:v "1400.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:factor [ fhir:v "0.75"^^xsd:decimal ] ;
     fhir:net [
       fhir:value [ fhir:v "1050.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ; #   student discount  
     fhir:udi ( [
       fhir:reference [ fhir:v "#device-bridge" ]
     ] ) ;
     fhir:bodySite ( [
       fhir:site ( [
         fhir:concept [
           fhir:coding ( [
             fhir:system [ fhir:v "http://fdi.org/fhir/oraltoothcodes"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "01" ]
           ] )
         ]
       ] )
     ] )
  ] [
     fhir:sequence [ fhir:v "2"^^xsd:positiveInteger ] ;
     fhir:careTeamSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:productOrService [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org/fhir/oralservicecodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "21211" ]
       ] )
     ] ;
     fhir:serviced [ fhir:v "2014-08-16"^^xsd:date ] ;
     fhir:location [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-serviceplace"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "11" ]
       ] )
     ] ;
     fhir:unitPrice [
       fhir:value [ fhir:v "105.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:net [
       fhir:value [ fhir:v "105.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:bodySite ( [
       fhir:site ( [
         fhir:concept [
           fhir:coding ( [
             fhir:system [ fhir:v "http://fdi.org/fhir/oraltoothcodes"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "21" ]
           ] )
         ]
       ] ) ;
       fhir:subSite ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://fdi.org/fhir/oralsurfacecodes"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "L" ]
         ] )
       ] )
     ] )
  ] [
     fhir:sequence [ fhir:v "3"^^xsd:positiveInteger ] ;
     fhir:careTeamSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:procedureSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:productOrService [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org/fhir/oralservicecodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "27211" ]
       ] )
     ] ;
     fhir:serviced [ fhir:v "2014-08-16"^^xsd:date ] ;
     fhir:location [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-serviceplace"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "11" ]
       ] )
     ] ;
     fhir:unitPrice [
       fhir:value [ fhir:v "1100.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:net [
       fhir:value [ fhir:v "1100.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:bodySite ( [
       fhir:site ( [
         fhir:concept [
           fhir:coding ( [
             fhir:system [ fhir:v "http://fdi.org/fhir/oraltoothcodes"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "24" ]
           ] )
         ]
       ] )
     ] ) ;
     fhir:detail ( [
       fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
       fhir:productOrService [
         fhir:coding ( [
           fhir:system [ fhir:v "http://example.org/fhir/oralservicecodes"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "27211" ]
         ] )
       ] ;
       fhir:unitPrice [
         fhir:value [ fhir:v "1000.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] ;
       fhir:factor [ fhir:v "0.75"^^xsd:decimal ] ;
       fhir:net [
         fhir:value [ fhir:v "750.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] #   Student discount  
     ] [
       fhir:sequence [ fhir:v "2"^^xsd:positiveInteger ] ;
       fhir:productOrService [
         fhir:coding ( [
           fhir:system [ fhir:v "http://example.org/fhir/oralservicecodes"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "lab" ]
         ] )
       ] ;
       fhir:unitPrice [
         fhir:value [ fhir:v "350.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] ;
       fhir:net [
         fhir:value [ fhir:v "350.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ]
     ] )
  ] ) ; # 
  fhir:total [
     fhir:value [ fhir:v "2255.00"^^xsd:decimal ] ;
     fhir:currency [ fhir:v "USD" ]
  ]] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.