This page is part of the FHIR Specification (v4.1.0: Release 4B Ballot #1). 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
Structured Documents Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Generic example
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <http://loinc.org/rdf#> . @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://hl7.org/fhir/DocumentReference/example> a fhir:DocumentReference; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>masterIdentifier</b>: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7</p><p><b>identifier</b>: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234</p><p><b>status</b>: current</p><p><b>docStatus</b>: preliminary</p><p><b>type</b>: <span>Outpatient Note</span></p><p><b>category</b>: <span>History and Physical</span></p><p><b>subject</b>: <a>Generated Summary: Medical record number: 12345 (USUAL); active; Henry Levin ; gender: male; birthDate: 1932-09-24</a></p><p><b>date</b>: 24 Dec. 2005, 9:43:41 am</p><p><b>author</b>: </p><ul><li><a>Generated Summary: id: D234123 (OFFICIAL); Sherry Dopplemeyer ; john.doe@healthcare.example.org</a></li><li><a> </a></li></ul><blockquote><p><b>name</b>: Gerald Smitty </p></blockquote><p><b>authenticator</b>: <a>Generated Summary: id: 91654 (OFFICIAL), id: 17-0112278 (USUAL); <span>University Medical Hospital</span>; name: Burgers University Medical Center; Phone: 022-655 2300</a></p><p><b>custodian</b>: <a>Generated Summary: id: 91654 (OFFICIAL), id: 17-0112278 (USUAL); <span>University Medical Hospital</span>; name: Burgers University Medical Center; Phone: 022-655 2300</a></p><h3>RelatesTos</h3><table><tr><td>-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>appends</td><td><a>Generated Summary: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7; id: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234; status: current; docStatus: preliminary; <span>Outpatient Note</span>; <span>History and Physical</span>; date: 24 Dec. 2005, 9:43:41 am; description: Physical; <span>very restricted</span></a></td></tr></table><p><b>description</b>: Physical</p><p><b>securityLabel</b>: <span>very restricted</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>format</b>: <span>History and Physical Specification</span></p></blockquote><h3>Contexts</h3><table><tr><td>-</td><td><b>Encounter</b></td><td><b>Event</b></td><td><b>Period</b></td><td><b>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td><td><b>Related</b></td></tr><tr><td>*</td><td><a>Generated Summary: id: 1234213.52345873 (OFFICIAL); status: finished; <span>ambulatory</span>; <span>Arm</span></a></td><td><span>Arm</span></td><td>23 Dec. 2004, 8:00:00 am --> 23 Dec. 2004, 8:01:00 am</td><td><span>Outpatient</span></td><td><span>General Medicine</span></td><td><a>Generated Summary: Medical record number: 12345 (USUAL); active; Henry Levin ; gender: male; birthDate: 1932-09-24</a></td><td><a>Generated Summary: Medical record number: 12345 (USUAL); active; Henry Levin ; gender: male; birthDate: 1932-09-24</a></td></tr></table></div>" ]; fhir:DomainResource.contained [ a fhir:Practitioner; fhir:index 0; fhir:Resource.id [ fhir:value "a2" ]; fhir:Practitioner.name [ fhir:index 0; fhir:HumanName.family [ fhir:value "Smitty" ]; fhir:HumanName.given [ fhir:value "Gerald"; fhir:index 0 ] ] ]; fhir:DocumentReference.masterIdentifier [ fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7" ] ]; fhir:DocumentReference.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" ] ]; fhir:DocumentReference.status [ fhir:value "current"]; fhir:DocumentReference.docStatus [ fhir:value "preliminary"]; fhir:DocumentReference.type [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:34108-1; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "34108-1" ]; fhir:Coding.display [ fhir:value "Outpatient Note" ] ] ]; fhir:DocumentReference.category [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://ihe.net/xds/connectathon/classCodes" ]; fhir:Coding.code [ fhir:value "History and Physical" ]; fhir:Coding.display [ fhir:value "History and Physical" ] ] ]; fhir:DocumentReference.subject [ fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ] ]; fhir:DocumentReference.date [ fhir:value "2005-12-24T09:43:41+11:00"^^xsd:dateTime]; fhir:DocumentReference.author [ fhir:index 0; fhir:link <http://hl7.org/fhir/Practitioner/xcda1>; fhir:Reference.reference [ fhir:value "Practitioner/xcda1" ] ], [ fhir:index 1; fhir:Reference.reference [ fhir:value "#a2" ] ]; fhir:DocumentReference.authenticator [ fhir:link <http://hl7.org/fhir/Organization/f001>; fhir:Reference.reference [ fhir:value "Organization/f001" ] ]; fhir:DocumentReference.custodian [ fhir:link <http://hl7.org/fhir/Organization/f001>; fhir:Reference.reference [ fhir:value "Organization/f001" ] ]; fhir:DocumentReference.relatesTo [ fhir:index 0; fhir:DocumentReference.relatesTo.code [ fhir:value "appends" ]; fhir:DocumentReference.relatesTo.target [ fhir:link <http://hl7.org/fhir/DocumentReference/example>; fhir:Reference.reference [ fhir:value "DocumentReference/example" ] ] ]; fhir:DocumentReference.description [ fhir:value "Physical"]; fhir:DocumentReference.securityLabel [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "V" ]; fhir:Coding.display [ fhir:value "very restricted" ] ] ]; fhir:DocumentReference.content [ fhir:index 0; fhir:DocumentReference.content.attachment [ fhir:Attachment.contentType [ fhir:value "application/hl7-v3+xml" ]; fhir:Attachment.language [ fhir:value "en-US" ]; fhir:Attachment.url [ fhir:value "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510" ]; fhir:Attachment.size [ fhir:value "3654"^^xsd:nonNegativeInteger ]; fhir:Attachment.hash [ fhir:value "2jmj7l5rSw0yVb/vlWAYkK/YBwk="^^xsd:base64Binary ]; fhir:Attachment.title [ fhir:value "Physical" ]; fhir:Attachment.creation [ fhir:value "2005-12-24T09:35:00+11:00"^^xsd:dateTime ] ]; fhir:DocumentReference.content.format [ fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.19376.1.2.3" ]; fhir:Coding.code [ fhir:value "urn:ihe:pcc:handp:2008" ]; fhir:Coding.display [ fhir:value "History and Physical Specification" ] ] ]; fhir:DocumentReference.context [ fhir:DocumentReference.context.encounter [ fhir:index 0; fhir:link <http://hl7.org/fhir/Encounter/xcda>; fhir:Reference.reference [ fhir:value "Encounter/xcda" ] ]; fhir:DocumentReference.context.event [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://ihe.net/xds/connectathon/eventCodes" ]; fhir:Coding.code [ fhir:value "T-D8200" ]; fhir:Coding.display [ fhir:value "Arm" ] ] ]; fhir:DocumentReference.context.period [ fhir:Period.start [ fhir:value "2004-12-23T08:00:00+11:00"^^xsd:dateTime ]; fhir:Period.end [ fhir:value "2004-12-23T08:01:00+11:00"^^xsd:dateTime ] ]; fhir:DocumentReference.context.facilityType [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes" ]; fhir:Coding.code [ fhir:value "Outpatient" ]; fhir:Coding.display [ fhir:value "Outpatient" ] ] ]; fhir:DocumentReference.context.practiceSetting [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ihe.net/xds/connectathon/practiceSettingCodes" ]; fhir:Coding.code [ fhir:value "General Medicine" ]; fhir:Coding.display [ fhir:value "General Medicine" ] ] ]; fhir:DocumentReference.context.sourcePatientInfo [ fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ] ]; fhir:DocumentReference.context.related [ fhir:index 0; fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ]; fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345" ] ] ] ] . <http://hl7.org/fhir/Patient/xcda> a fhir:Patient . <http://hl7.org/fhir/Practitioner/xcda1> a fhir:Practitioner . <http://hl7.org/fhir/Organization/f001> a fhir:Organization . <http://hl7.org/fhir/Encounter/xcda> a fhir:Encounter . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/DocumentReference/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/DocumentReference/example.ttl> . # -------------------------------------------------------------------------------------
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.