Protocols for Clinical Registry Extraction and Data Submission (CREDS) IG
1.0.0 - STU1 United States of America flag

Protocols for Clinical Registry Extraction and Data Submission (CREDS) IG, published by HL7 International / Clinical Interoperability Council. This is not an authorized publication; it is the continuous build for version 1.0.0. This version is based on the current content of https://github.com/HL7/fhir-registry-protocols-ig/ and changes regularly. See the Directory of published versions

: CREDS Submission Bundle Example - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "CREDSBundle-Example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/registry-protocols/StructureDefinition/CREDSSubmission"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/registry-protocols/StructureDefinition/CREDSSubmission>     ] )
  ] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:a4bab684-4bc2-43b7-82a0-199034a5a5b2"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:a4bab684-4bc2-43b7-82a0-199034a5a5b2> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:261989c3-688c-4941-b767-d8d4c871217c"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:261989c3-688c-4941-b767-d8d4c871217c> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:ba651db0-7b10-4465-a5c4-411ced9e8254"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:ba651db0-7b10-4465-a5c4-411ced9e8254> )
  ] ) . # 

<urn:uuid:a4bab684-4bc2-43b7-82a0-199034a5a5b2> a fhir:MessageHeader ;
  fhir:id [ fhir:v "CREDSMHExample"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"CREDSMHExample\"> </a></p><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\">Resource MessageHeader &quot;CREDSMHExample&quot; </p></div><p><b>event</b>: <code>urn:uuid:26aa1208-589a-4978-9cb7-728cc51520aa</code></p><p><b>sender</b>: <a href=\"Organization-VeterinariansHospital.html\">Organization/VeterinariansHospital</a> &quot;Veterinarian's Hospital&quot;</p><p><b>enterer</b>: <a href=\"Practitioner-USCorePractitionerexample.html\">Practitioner/USCorePractitionerexample</a> &quot; BONE&quot;</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>CREDS Implementation #2</td><td><a href=\"https://example.org/fhir\">https://example.org/fhir</a></td></tr></table><p><b>reason</b>: Discharge <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-message-reasons-encounter.html\">Example Message Reason Codes</a>#discharge)</span></p><p><b>focus</b>: <a href=\"#Patient_261989c3-688c-4941-b767-d8d4c871217c\">See above (Patient/261989c3-688c-4941-b767-d8d4c871217c)</a></p></div>"
  ] ; # 
  fhir:event [ fhir:v "urn:uuid:26aa1208-589a-4978-9cb7-728cc51520aa"^^xsd:anyURI] ; # 
  fhir:sender [
fhir:reference [ fhir:v "Organization/VeterinariansHospital" ]
  ] ; # 
  fhir:enterer [
fhir:reference [ fhir:v "Practitioner/USCorePractitionerexample" ]
  ] ; # 
  fhir:source [
fhir:name [ fhir:v "CREDS Implementation #2" ] ;
fhir:endpoint [ fhir:v "https://example.org/fhir"^^xsd:anyURI ]
  ] ; # 
  fhir:reason [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:code [ fhir:v "discharge" ]     ] )
  ] ; # 
  fhir:focus ( [
fhir:reference [ fhir:v "Patient/261989c3-688c-4941-b767-d8d4c871217c" ]
  ] ) . # 

<urn:uuid:261989c3-688c-4941-b767-d8d4c871217c> a fhir:Patient ;
  fhir:id [ fhir:v "261989c3-688c-4941-b767-d8d4c871217c"] ; # 
  fhir:meta [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient Example" ]     ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "This is a patient example for the *US Core Patient Profile*." ]     ] ) ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"261989c3-688c-4941-b767-d8d4c871217c\"> </a></p><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\">Resource Patient &quot;261989c3-688c-4941-b767-d8d4c871217c&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/STU5.0.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a></p></div><blockquote><p><b>US Core Race Extension</b></p><blockquote><p><b>url</b></p><code>ombCategory</code></blockquote><p><b>value</b>: White (Details: urn:oid:2.16.840.1.113883.6.238 code 2106-3 = '2106-3', stated as 'White')</p><blockquote><p><b>url</b></p><code>ombCategory</code></blockquote><p><b>value</b>: American Indian or Alaska Native (Details: urn:oid:2.16.840.1.113883.6.238 code 1002-5 = '1002-5', stated as 'American Indian or Alaska Native')</p><blockquote><p><b>url</b></p><code>ombCategory</code></blockquote><p><b>value</b>: Asian (Details: urn:oid:2.16.840.1.113883.6.238 code 2028-9 = '2028-9', stated as 'Asian')</p><blockquote><p><b>url</b></p><code>detailed</code></blockquote><p><b>value</b>: Shoshone (Details: urn:oid:2.16.840.1.113883.6.238 code 1586-7 = '1586-7', stated as 'Shoshone')</p><blockquote><p><b>url</b></p><code>detailed</code></blockquote><p><b>value</b>: Filipino (Details: urn:oid:2.16.840.1.113883.6.238 code 2036-2 = '2036-2', stated as 'Filipino')</p><blockquote><p><b>url</b></p><code>text</code></blockquote><p><b>value</b>: Mixed</p></blockquote><blockquote><p><b>US Core Ethnicity Extension</b></p><blockquote><p><b>url</b></p><code>ombCategory</code></blockquote><p><b>value</b>: Hispanic or Latino (Details: urn:oid:2.16.840.1.113883.6.238 code 2135-2 = '2135-2', stated as 'Hispanic or Latino')</p><blockquote><p><b>url</b></p><code>detailed</code></blockquote><p><b>value</b>: Dominican (Details: urn:oid:2.16.840.1.113883.6.238 code 2184-0 = '2184-0', stated as 'Dominican')</p><blockquote><p><b>url</b></p><code>detailed</code></blockquote><p><b>value</b>: Mexican (Details: urn:oid:2.16.840.1.113883.6.238 code 2148-5 = '2148-5', stated as 'Mexican')</p><blockquote><p><b>url</b></p><code>text</code></blockquote><p><b>value</b>: Hispanic or Latino</p></blockquote><p><b>US Core Birth Sex Extension</b>: F</p><p><b>identifier</b>: Medical Record Number: 1032702 (use: USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Amy V. Shaw (OLD), Amy V. Baxter </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href=\"mailto:amy.shaw@example.com\">amy.shaw@example.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: </p><ul><li>49 Meadow St Mounds OK 74047 US (OLD)</li><li>183 Mountain View St Mounds OK 74048 US </li></ul></div>"
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2106-3" ] ;
fhir:display [ fhir:v "White" ]       ]     ] [
fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1002-5" ] ;
fhir:display [ fhir:v "American Indian or Alaska Native" ]       ]     ] [
fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2028-9" ] ;
fhir:display [ fhir:v "Asian" ]       ]     ] [
fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1586-7" ] ;
fhir:display [ fhir:v "Shoshone" ]       ]     ] [
fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2036-2" ] ;
fhir:display [ fhir:v "Filipino" ]       ]     ] [
fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Mixed" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2135-2" ] ;
fhir:display [ fhir:v "Hispanic or Latino" ]       ]     ] [
fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2184-0" ] ;
fhir:display [ fhir:v "Dominican" ]       ]     ] [
fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2148-5" ] ;
fhir:display [ fhir:v "Mexican" ]       ]     ] [
fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Hispanic or Latino" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ] ;
fhir:value [ fhir:v "F" ]
  ] ) ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ] ;
fhir:display [ fhir:v "Medical Record Number" ]       ] ) ;
fhir:text [ fhir:v "Medical Record Number" ]     ] ;
fhir:system [ fhir:v "http://hospital.smarthealthit.org"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1032702" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:use [ fhir:v "old" ] ;
fhir:family [ fhir:v "Shaw" ] ;
    ( fhir:given [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
fhir:period [
fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
fhir:end [ fhir:v "2020-07-22"^^xsd:date ]     ]
  ] [
fhir:family [ fhir:v "Baxter" ] ;
    ( fhir:given [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
    ( fhir:suffix [ fhir:v "PharmD" ] ) ;
fhir:period [
fhir:start [ fhir:v "2020-07-22"^^xsd:date ]     ]
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "555-555-5555" ] ;
fhir:use [ fhir:v "home" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "amy.shaw@example.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1987-02-20"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "old" ] ;
    ( fhir:line [ fhir:v "49 Meadow St" ] ) ;
fhir:city [ fhir:v "Mounds" ] ;
fhir:state [ fhir:v "OK" ] ;
fhir:postalCode [ fhir:v "74047" ] ;
fhir:country [ fhir:v "US" ] ;
fhir:period [
fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
fhir:end [ fhir:v "2020-07-22"^^xsd:date ]     ]
  ] [
    ( fhir:line [ fhir:v "183 Mountain View St" ] ) ;
fhir:city [ fhir:v "Mounds" ] ;
fhir:state [ fhir:v "OK" ] ;
fhir:postalCode [ fhir:v "74048" ] ;
fhir:country [ fhir:v "US" ] ;
fhir:period [
fhir:start [ fhir:v "2020-07-22"^^xsd:date ]     ]
  ] ) . # 

<urn:uuid:ba651db0-7b10-4465-a5c4-411ced9e8254> a fhir:Encounter ;
  fhir:id [ fhir:v "CREDSEncounter"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"CREDSEncounter\"> </a></p><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\">Resource Encounter &quot;CREDSEncounter&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/STU5.0.1/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a></p></div><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'null')</p><p><b>type</b>: Office or other outpatient visit for the evaluation and management of an established patient that may not require the presence of a physician or other qualified health care professional <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-CPT.html\">Current Procedural Terminology (CPT®)</a>#99211)</span></p><p><b>subject</b>: <a href=\"#Patient_261989c3-688c-4941-b767-d8d4c871217c\">See above (Patient/261989c3-688c-4941-b767-d8d4c871217c)</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-USCorePractitionerexample.html\">Practitioner/USCorePractitionerexample</a> &quot; BONE&quot;</td></tr></table><p><b>period</b>: 2020-10-01 17:00:14-0500 --&gt; 2020-10-01 18:00:14-0500</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-Enc-location.html\">Location/Enc-location</a> &quot;North Wing of Veterinarian's Hospital&quot;</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AMB" ]
  ] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ] ;
fhir:code [ fhir:v "99211" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/261989c3-688c-4941-b767-d8d4c871217c" ]
  ] ; # 
  fhir:participant ( [
fhir:individual [
fhir:reference [ fhir:v "Practitioner/USCorePractitionerexample" ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2020-10-01T17:00:14-05:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2020-10-01T18:00:14-05:00"^^xsd:dateTime ]
  ] ; # 
  fhir:location ( [
fhir:location [
fhir:reference [ fhir:v "Location/Enc-location" ]     ]
  ] ) . #