Structured Data Capture
4.0.0-ballot - STU 4 ballot International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: SDC Map population source bundle example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "map-population-example"] ; # 
  fhir:type [ fhir:v "batch-response"] ; # 
  fhir:entry ( [
    ( fhir:resource [
a fhir:Bundle ;
fhir:id [ fhir:v "2c256377-0dbf-4311-a123-14d87f22c5" ] ;
fhir:meta [
fhir:lastUpdated [ fhir:v "2021-12-24T20:45:02.548Z"^^xsd:dateTime ]       ] ;
fhir:type [ fhir:v "searchset" ] ;
fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:link [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "http://example.org/fhir/Patient?_format=application/fhir+xml&search-id=6d767ae9-7ce7-434e-b148-0603d44788&&_id=a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&_sort=_id"^^xsd:anyURI ]       ] ) ;
      ( fhir:entry [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]         ]       ] )     ] ) ;
fhir:response [
fhir:status [ fhir:v "200" ] ;
fhir:etag [ fhir:v "W/" ] ;
fhir:lastModified [ fhir:v "1899-12-30T00:00:00.000Z"^^xsd:dateTime ]     ]
  ] [
    ( fhir:resource [
a fhir:Bundle ;
fhir:id [ fhir:v "7b29ddd9-fdbf-4e6c-81f3-38f2d51934" ] ;
fhir:meta [
fhir:lastUpdated [ fhir:v "2021-12-24T20:45:02.610Z"^^xsd:dateTime ]       ] ;
fhir:type [ fhir:v "searchset" ] ;
fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:link [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "http://example.org/fhir/Condition?_format=application/fhir+xml&search-id=91f69619-1772-4f74-9560-7748c900b1&&patient=Patient/a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&clinical-status=active&_sort=_id"^^xsd:anyURI ]       ] ) ;
      ( fhir:entry [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Condition/7cd8b889-5456-43d4-935c-abc10791ebd6"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/Condition/7cd8b889-5456-43d4-935c-abc10791ebd6> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]         ]       ] )     ] ) ;
fhir:response [
fhir:status [ fhir:v "200" ] ;
fhir:etag [ fhir:v "W/" ] ;
fhir:lastModified [ fhir:v "1899-12-30T00:00:00.000Z"^^xsd:dateTime ]     ]
  ] [
    ( fhir:resource [
a fhir:Bundle ;
fhir:id [ fhir:v "94e7a07b-0f81-4586-ad73-ef8ce3b7b7" ] ;
fhir:meta [
fhir:lastUpdated [ fhir:v "2021-12-24T20:45:02.719Z"^^xsd:dateTime ]       ] ;
fhir:type [ fhir:v "searchset" ] ;
fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:link [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "http://example.org/fhir/MedicationStatement?_format=application/fhir+xml&search-id=27c5cc22-a00c-499f-b217-a60cb94df7&&patient=Patient/a0df9da6%2D3157%2D4b72%2D95f1%2D729853718c09&status=active&_include=MedicationStatement%3Amedication&_sort=_id"^^xsd:anyURI ]       ] ) ;
      ( fhir:entry [
fhir:fullUrl [ fhir:v "http://example.org/fhir/MedicationStatement/fe376aa6-83fb-4d0e-be60-ad959c57114f"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/MedicationStatement/fe376aa6-83fb-4d0e-be60-ad959c57114f> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]         ]       ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/MedicationStatement/01e65f9e-5412-4ac9-a1c2-c408ed485702"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/MedicationStatement/01e65f9e-5412-4ac9-a1c2-c408ed485702> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]         ]       ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/MedicationStatement/f59e4516-d2c6-4a2f-936b-d2c460bb92c6"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/MedicationStatement/f59e4516-d2c6-4a2f-936b-d2c460bb92c6> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]         ]       ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a"^^xsd:anyURI ] ;
        ( fhir:resource <http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]         ]       ] )     ] ) ;
fhir:response [
fhir:status [ fhir:v "200" ] ;
fhir:etag [ fhir:v "W/" ] ;
fhir:lastModified [ fhir:v "1899-12-30T00:00:00.000Z"^^xsd:dateTime ]     ]
  ] ) . # 

<http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> a fhir:Patient ;
  fhir:id [ fhir:v "a0df9da6-3157-4b72-95f1-729853718c09"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:00:59.865Z"^^xsd:dateTime ]
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "JHN" ]       ] )     ] ;
fhir:system [ fhir:v "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567890" ]
  ] ) ; # 
  fhir:name ( [
fhir:family [ fhir:v "Doe" ] ;
    ( fhir:given [ fhir:v "Jane" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "1 (555) 867 5309" ] ;
fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "janedoe@example.com" ] ;
fhir:rank [ fhir:v "2"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1951-02-19"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "123 Any Street" ] ) ;
fhir:city [ fhir:v "Waterloo" ] ;
fhir:state [ fhir:v "ON" ] ;
fhir:postalCode [ fhir:v "N2L 3G1" ]
  ] ) ; # 
  fhir:contact ( [
    ( fhir:relationship [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SPS" ] ;
fhir:display [ fhir:v "spouse" ]       ] ) ;
fhir:text [ fhir:v "Emergency Contact" ]     ] ) ;
fhir:name [
fhir:family [ fhir:v "Doe" ] ;
      ( fhir:given [ fhir:v "John" ] )     ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "(555) 555 1212" ] ;
fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]     ] ) ;
fhir:address [
      ( fhir:line [ fhir:v "50 Another St." ] [ fhir:v "Unit 2" ] ) ;
fhir:city [ fhir:v "Waterloo" ] ;
fhir:state [ fhir:v "ON" ] ;
fhir:postalCode [ fhir:v "N2L 3G2" ]     ]
  ] ) ; # 
  fhir:communication ( [
fhir:language [
      ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
fhir:code [ fhir:v "en" ]       ] ) ;
fhir:text [ fhir:v "English" ]     ]
  ] ) ; # 
  fhir:generalPractitioner ( [
fhir:link <http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2" ]
  ] ) . # 

<http://example.org/fhir/Condition/7cd8b889-5456-43d4-935c-abc10791ebd6> a fhir:Condition ;
  fhir:id [ fhir:v "7cd8b889-5456-43d4-935c-abc10791ebd6"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:00:59.965Z"^^xsd:dateTime ]
  ] ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ]     ] )
  ] ; # 
  fhir:verificationStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
fhir:code [ fhir:v "confirmed" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:75326-9 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "75326-9" ] ;
fhir:display [ fhir:v "Problem" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:95651005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/20611000087101" ] ;
fhir:code [ fhir:v "95651005" ] ;
fhir:display [ fhir:v "Chronic progressive paraparesis" ]     ] ) ;
fhir:text [ fhir:v "Chronic Progressive Paraparesis" ]
  ] ; # 
  fhir:subject [
fhir:link <http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> ;
fhir:reference [ fhir:v "http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09" ]
  ] ; # 
  fhir:onset [ fhir:v "2014"^^xsd:gYear] ; # 
  fhir:asserter [
fhir:link <http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2" ]
  ] . # 

<http://example.org/fhir/MedicationStatement/fe376aa6-83fb-4d0e-be60-ad959c57114f> a fhir:MedicationStatement ;
  fhir:id [ fhir:v "fe376aa6-83fb-4d0e-be60-ad959c57114f"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:01:00.007Z"^^xsd:dateTime ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:link <http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a> ;
fhir:reference [ fhir:v "http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a" ]
  ] ; # 
  fhir:subject [
fhir:link <http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> ;
fhir:reference [ fhir:v "http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2014"^^xsd:gYear ]
  ] ; # 
  fhir:informationSource [
fhir:link <http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2" ]
  ] ; # 
  fhir:dosage ( [
fhir:text [ fhir:v "40 mg/day" ] ;
fhir:timing [
fhir:repeat [
fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg" ]       ]     ] )
  ] ) . # 

<http://example.org/fhir/MedicationStatement/01e65f9e-5412-4ac9-a1c2-c408ed485702> a fhir:MedicationStatement ;
  fhir:id [ fhir:v "01e65f9e-5412-4ac9-a1c2-c408ed485702"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:01:00.007Z"^^xsd:dateTime ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
    ( fhir:coding [
fhir:system [ fhir:v "http://example.org/medications"^^xsd:anyURI ]     ] [
fhir:system [ fhir:v "http://example.org/medications2"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Another med" ]     ] )
  ] ; # 
  fhir:subject [
fhir:link <http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> ;
fhir:reference [ fhir:v "http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2014"^^xsd:gYear ]
  ] ; # 
  fhir:informationSource [
fhir:link <http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2" ]
  ] ; # 
  fhir:dosage ( [
fhir:text [ fhir:v "40 mg/day" ] ;
fhir:timing [
fhir:repeat [
fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg" ]       ]     ] )
  ] ) . # 

<http://example.org/fhir/MedicationStatement/f59e4516-d2c6-4a2f-936b-d2c460bb92c6> a fhir:MedicationStatement ;
  fhir:id [ fhir:v "f59e4516-d2c6-4a2f-936b-d2c460bb92c6"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:01:00.007Z"^^xsd:dateTime ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "SomeMed" ]
  ] ; # 
  fhir:subject [
fhir:link <http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09> ;
fhir:reference [ fhir:v "http://example.org/fhir/Patient/a0df9da6-3157-4b72-95f1-729853718c09" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2014"^^xsd:gYear ]
  ] ; # 
  fhir:informationSource [
fhir:link <http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/76ff8f74-03c7-436f-a3e0-71ac9503c1a2" ]
  ] ; # 
  fhir:dosage ( [
fhir:text [ fhir:v "40 mg/day" ] ;
fhir:timing [
fhir:repeat [
fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg" ]       ]     ] )
  ] ) . # 

<http://example.org/fhir/Medication/c6222017-94f6-4dbc-8958-fcdf9df3356a> a fhir:Medication ;
  fhir:id [ fhir:v "c6222017-94f6-4dbc-8958-fcdf9df3356a"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2021-11-09T22:01:00.033Z"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: c6222017-94f6-4dbc-8958-fcdf9df3356a</p><p><b>meta</b>:</p><p><b>code</b>: Simvastatin 40 mg oral tablet <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code \"320000009\" := \"320000009\", given as \"Simvastatin 40 mg oral tablet\"})</span></p><p><b>form</b>: Film-coated tablet <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code \"385057009\" := \"385057009\", given as \"Film-coated tablet\"})</span></p></div>"
  ] ; # 
  fhir:code [
    ( fhir:coding [
a sct:320000009 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/20611000087101" ] ;
fhir:code [ fhir:v "320000009" ] ;
fhir:display [ fhir:v "Simvastatin 40 mg oral tablet" ]     ] ) ;
fhir:text [ fhir:v "Simvastatin 40 mg oral tablet" ]
  ] ; # 
  fhir:form [
    ( fhir:coding [
a sct:385057009 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/20611000087101" ] ;
fhir:code [ fhir:v "385057009" ] ;
fhir:display [ fhir:v "Film-coated tablet" ]     ] )
  ] ; # 
  fhir:ingredient ( [
fhir:item [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:387584000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/20611000087101" ] ;
fhir:code [ fhir:v "387584000" ] ;
fhir:display [ fhir:v "Simvastatin" ]       ] )     ] ;
fhir:strength [
fhir:numerator [
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mcg" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg" ]       ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:unit [ fhir:v "dose" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ]       ]     ]
  ] ) . #