@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 -------------------------------------------------------------------

<http://fhir.ch/ig/ch-alis-connect/ChargeItem/ChargeItemLabServiceAssignment> a fhir:ChargeItem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ChargeItemLabServiceAssignment"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem ChargeItemLabServiceAssignment</b></p><a name=\"ChargeItemLabServiceAssignment\"> </a><a name=\"hcChargeItemLabServiceAssignment\"> </a><p><b>CH ALIS Extension ItemNumber</b>: 46784</p><p><b>CH ALIS Extension SessionID</b>: 1</p><p><b>CH ALIS Extension OrderID</b>: 2025403-2</p><p><b>CH ALIS Extension SectionCode</b>: <a href=\"CodeSystem-swiss-medical-specialties.html#swiss-medical-specialties-M990.4606\">Swiss Medical Specialties (Fachbereiche): M990.06</a> (Labor)</p><blockquote><p><b>CH ALIS Extension ServiceAssignment</b></p><ul><li>OrderingProviderID: <a href=\"http://fhir.ch/ig/ch-term/3.4.0/NamingSystem-gln.html\" title=\"Each healthcare partner (natural or legal person) is referenced with a unique code of type GLN (former name: EAN code) of the [GS1](https://www.gs1.ch/de/home) system, see [refdata](https://www.refdata.ch/).\">GLN</a>/7653253258966</li><li>OrderSectionCode: <a href=\"CodeSystem-swiss-medical-specialties.html#swiss-medical-specialties-M400.4604\">Swiss Medical Specialties (Fachbereiche): M400.04</a> (Neonatologie)</li><li>OrderDate: 2025-03-03 10:05:36+0000</li><li>FollowUpOrder: false</li></ul></blockquote><p><b>status</b>: Billable</p><p><b>code</b>: <span title=\"Codes:{http://forum-datenaustausch.ch/tariff/317 1368.00}\">1368.00</span></p><p><b>subject</b>: <a href=\"#hcChargeItemLabServiceAssignment/pat\">Paul Tester  Male, DoB: 1982-03-22 ( Medical record number: 102)</a></p><p><b>context</b>: <a href=\"#hcChargeItemLabServiceAssignment/enc\">Encounter: identifier = Visit number: 987654; status = finished; class = ambulatory (ActCode#AMB)</a></p><p><b>occurrence</b>: 2025-03-04 09:00:00+0000</p><p><b>performingOrganization</b>: Identifier: <code>http://www.example.org/organisationdomain</code>/2700</p><p><b>costCenter</b>: Identifier: <code>http://www.example.org/kostenstellendomain</code>/007</p><p><b>quantity</b>: 1</p><p><b>enterer</b>: 7653253256988</p><p><b>enteredDate</b>: 2025-03-05 10:05:36+0000</p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #pat</b></p><a name=\"ChargeItemLabServiceAssignment/pat\"> </a><a name=\"hcChargeItemLabServiceAssignment/pat\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Paul Tester  Male, DoB: 1982-03-22 ( Medical record number: 102)</p><hr/></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Encounter #enc</b></p><a name=\"ChargeItemLabServiceAssignment/enc\"> </a><a name=\"hcChargeItemLabServiceAssignment/enc\"> </a><p><b>identifier</b>: Visit number/987654</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>subject</b>: <a href=\"#hcChargeItemLabServiceAssignment/pat\">Paul Tester  Male, DoB: 1982-03-22 ( Medical record number: 102)</a></p></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Patient ;
     fhir:index -1 ;
     fhir:Resource.id [ fhir:value "pat" ] ;
     fhir:Patient.identifier [
       fhir:index -1 ;
       fhir:Identifier.type [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
           fhir:Coding.code [ fhir:value "MR" ]
         ]
       ] ;
       fhir:Identifier.system [ fhir:value "http://www.example.org/patienteniddomain" ] ;
       fhir:Identifier.value [ fhir:value "102" ]
     ] ;
     fhir:Patient.name [
       fhir:index -1 ;
       fhir:HumanName.family [ fhir:value "Tester" ] ;
       fhir:HumanName.given [
         fhir:value "Paul" ;
         fhir:index -1
       ]
     ] ;
     fhir:Patient.gender [ fhir:value "male" ] ;
     fhir:Patient.birthDate [ fhir:value "1982-03-22"^^xsd:date ]
  ], [
     a fhir:Encounter ;
     fhir:index -1 ;
     fhir:Resource.id [ fhir:value "enc" ] ;
     fhir:Encounter.identifier [
       fhir:index -1 ;
       fhir:Identifier.type [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
           fhir:Coding.code [ fhir:value "VN" ]
         ]
       ] ;
       fhir:Identifier.system [ fhir:value "http://www.example.org/fallnummerdomain" ] ;
       fhir:Identifier.value [ fhir:value "987654" ]
     ] ;
     fhir:Encounter.status [ fhir:value "finished" ] ;
     fhir:Encounter.class [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "AMB" ] ;
       fhir:Coding.display [ fhir:value "ambulatory" ]
     ] ;
     fhir:Encounter.subject [
       fhir:Reference.reference [ fhir:value "#pat" ]
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-itemnumber" ] ;
     fhir:Extension.valueString [ fhir:value "46784" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-sessionid" ] ;
     fhir:Extension.valueString [ fhir:value "1" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-orderid" ] ;
     fhir:Extension.valueString [ fhir:value "2025403-2" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-sectioncode" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://fhir.ch/ig/ch-alis-connect/CodeSystem/swiss-medical-specialties" ] ;
       fhir:Coding.code [ fhir:value "M990.06" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-serviceassignment" ] ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "OrderingProviderID" ] ;
       fhir:Extension.valueIdentifier [
         fhir:Identifier.system [ fhir:value "urn:oid:2.51.1.3" ] ;
         fhir:Identifier.value [ fhir:value "7653253258966" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "OrderSectionCode" ] ;
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://fhir.ch/ig/ch-alis-connect/CodeSystem/swiss-medical-specialties" ] ;
         fhir:Coding.code [ fhir:value "M400.04" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "OrderDate" ] ;
       fhir:Extension.valueDateTime [ fhir:value "2025-03-03T10:05:36Z"^^xsd:dateTime ]
     ], [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "FollowUpOrder" ] ;
       fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ] ;
  fhir:ChargeItem.status [ fhir:value "billable"] ;
  fhir:ChargeItem.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://forum-datenaustausch.ch/tariff/317" ] ;
       fhir:Coding.code [ fhir:value "1368.00" ]
     ]
  ] ;
  fhir:ChargeItem.subject [
     fhir:Reference.reference [ fhir:value "#pat" ]
  ] ;
  fhir:ChargeItem.context [
     fhir:Reference.reference [ fhir:value "#enc" ]
  ] ;
  fhir:ChargeItem.occurrenceDateTime [ fhir:value "2025-03-04T09:00:00Z"^^xsd:dateTime] ;
  fhir:ChargeItem.performingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://www.example.org/organisationdomain" ] ;
       fhir:Identifier.value [ fhir:value "2700" ]
     ]
  ] ;
  fhir:ChargeItem.costCenter [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://www.example.org/kostenstellendomain" ] ;
       fhir:Identifier.value [ fhir:value "007" ]
     ]
  ] ;
  fhir:ChargeItem.quantity [
     fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]
  ] ;
  fhir:ChargeItem.enterer [
     fhir:Reference.display [ fhir:value "7653253256988" ]
  ] ;
  fhir:ChargeItem.enteredDate [ fhir:value "2025-03-05T10:05:36Z"^^xsd:dateTime] .

# - ontology header ------------------------------------------------------------

<http://fhir.ch/ig/ch-alis-connect/ChargeItem/ChargeItemLabServiceAssignment.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

