@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhirfrog.org/fhir/au-core-tests/Encounter/au-core-encounter-conformant> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "au-core-encounter-conformant"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter au-core-encounter-conformant</b></p><a name=\"au-core-encounter-conformant\"> </a><a name=\"hcau-core-encounter-conformant\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/core/2.0.0/StructureDefinition-au-core-encounter.html\">AU Core Encounter</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>serviceType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-type 124}\">General Practice</span></p><p><b>subject</b>: <a href=\"Patient/patient-fixture\">Sample Frog</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></td><td><a href=\"Practitioner/frog-participant\">Perry Frog</a></td></tr></table><p><b>period</b>: 2024-03-01 09:00:00+1000 --&gt; 2024-03-01 09:30:00+1000</p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 185349003}\">Encounter for check up</span></p><p><b>reasonReference</b>: <a href=\"Condition/frog-reason-condition\">Synthetic reason for encounter (Frog test data)</a></p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location/frog-location\">Frog Medical Centre</a></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization/frog-service-provider\">Frog Health Service</a></p></div>"
  ] ;
  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.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/service-type" ] ;
       fhir:Coding.code [ fhir:value "124" ] ;
       fhir:Coding.display [ fhir:value "General Practice" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <http://fhirfrog.org/fhir/au-core-tests/Patient/patient-fixture> ;
     fhir:Reference.reference [ fhir:value "Patient/patient-fixture" ] ;
     fhir:Reference.display [ fhir:value "Sample Frog" ]
  ] ;
  fhir:Encounter.participant [
     fhir:index 0 ;
     fhir:Encounter.participant.type [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ] ;
         fhir:Coding.code [ fhir:value "PPRF" ] ;
         fhir:Coding.display [ fhir:value "primary performer" ]
       ]
     ] ;
     fhir:Encounter.participant.individual [
       fhir:link <http://fhirfrog.org/fhir/au-core-tests/Practitioner/frog-participant> ;
       fhir:Reference.reference [ fhir:value "Practitioner/frog-participant" ] ;
       fhir:Reference.display [ fhir:value "Perry Frog" ]
     ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2024-03-01T09:00:00+10:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2024-03-01T09:30:00+10:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:185349003 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "185349003" ] ;
       fhir:Coding.display [ fhir:value "Encounter for check up" ]
     ]
  ] ;
  fhir:Encounter.reasonReference [
     fhir:index 0 ;
     fhir:link <http://fhirfrog.org/fhir/au-core-tests/Condition/frog-reason-condition> ;
     fhir:Reference.reference [ fhir:value "Condition/frog-reason-condition" ] ;
     fhir:Reference.display [ fhir:value "Synthetic reason for encounter (Frog test data)" ]
  ] ;
  fhir:Encounter.location [
     fhir:index 0 ;
     fhir:Encounter.location.location [
       fhir:link <http://fhirfrog.org/fhir/au-core-tests/Location/frog-location> ;
       fhir:Reference.reference [ fhir:value "Location/frog-location" ] ;
       fhir:Reference.display [ fhir:value "Frog Medical Centre" ]
     ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:link <http://fhirfrog.org/fhir/au-core-tests/Organization/frog-service-provider> ;
     fhir:Reference.reference [ fhir:value "Organization/frog-service-provider" ] ;
     fhir:Reference.display [ fhir:value "Frog Health Service" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhirfrog.org/fhir/au-core-tests/Encounter/au-core-encounter-conformant.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

