@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/dapl/Encounter/de-identified-example> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "de-identified-example"] ; # 
  fhir:meta [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/instance-name>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "De-Identified Encounter Example"
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/instance-description>
       ] ;
       fhir:value [
         a fhir:Markdown ;
         fhir:v "This is an encounter example for the *US Core Encounter Profile*."
       ]
     ] ) ;
     fhir:lastUpdated [ fhir:v "2022-05-26T11:56:57.250-04:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-encounter"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-encounter>
     ] )
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension>
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "36"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "yr" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "a" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "AMB" ] ;
     fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
         fhir:l <http://www.ama-assn.org/go/cpt>
       ] ;
       fhir:code [ fhir:v "99202" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/us/dapl/Patient/de-identified-example> ;
     fhir:reference [ fhir:v "Patient/de-identified-example" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2022"^^xsd:gYear ] ;
     fhir:end [ fhir:v "2022"^^xsd:gYear ]
  ] ; # 
  fhir:location ( [
     fhir:location [
       fhir:l <http://hl7.org/fhir/us/dapl/Location/hospital> ;
       fhir:reference [ fhir:v "Location/hospital" ] ;
       fhir:display [ fhir:v "Holy Family Hospital" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/us/dapl/Patient/de-identified-example> a fhir:Us .

<http://hl7.org/fhir/us/dapl/Location/hospital> a fhir:Us .

# -------------------------------------------------------------------------------------

