Patient Demographics Query for Mobile (PDQm)
3.0.0 - Trial-Implementation International flag

This page is part of the IHE Patient Demographics Query for Mobile (v3.0.0: Publication) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Example of a Query Patient Resource Response message - 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 "ex-QueryPatientResourceResponseMessage"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.QueryPatientResourceResponseMessage"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.QueryPatientResourceResponseMessage>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:timestamp [ fhir:v "2023-09-25T15:42:00Z"^^xsd:dateTime] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "test.fhir.net/R4/fhir/Patient?family=Schmidt"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/Patient/ex-patient"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/Patient/ex-patient> )
  ] ) . # 

<http://example.org/Patient/ex-patient> a fhir:Patient ;
  fhir:id [ fhir:v "ex-patient"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.Patient"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.Patient>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"ex-patient\"> </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;ex-patient&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-IHE.PDQm.Patient.html\">PDQm Patient Profile</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>identifier</b>: <code>http://example.org/exampleSystem</code>/8675309</p><p><b>name</b>: John Schmidt, John Jacob Jingle Heimer Schnidt(OLD), John Jacob Jingleheimer Schmidt(OFFICIAL), Jack Schmidt(NICKNAME)</p><p><b>gender</b>: other</p><p><b>birthDate</b>: 1923-07-25</p><p><b>address</b>: WI USA </p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://example.org/exampleSystem"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8675309" ]
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:text [ fhir:v "John Schmidt" ] ;
fhir:family [ fhir:v "Schmidt" ] ;
    ( fhir:given [ fhir:v "John" ] )
  ] [
fhir:use [ fhir:v "old" ] ;
fhir:text [ fhir:v "John Jacob Jingle Heimer Schnidt" ] ;
fhir:family [ fhir:v "Schnidt" ] ;
    ( fhir:given [ fhir:v "John" ] [ fhir:v "Jacob" ] [ fhir:v "Jingle" ] [ fhir:v "Heimer" ] ) ;
fhir:period [
fhir:end [ fhir:v "1960"^^xsd:gYear ]     ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:text [ fhir:v "John Jacob Jingleheimer Schmidt" ] ;
fhir:family [ fhir:v "Schmidt" ] ;
    ( fhir:given [ fhir:v "John" ] [ fhir:v "Jacob" ] [ fhir:v "Jingleheimer" ] ) ;
fhir:period [
fhir:start [ fhir:v "1960-01-01"^^xsd:date ]     ]
  ] [
fhir:use [ fhir:v "nickname" ] ;
fhir:text [ fhir:v "Jack Schmidt" ] ;
fhir:family [ fhir:v "Schmidt" ] ;
    ( fhir:given [ fhir:v "Jack" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "other"] ; # 
  fhir:birthDate [ fhir:v "1923-07-25"^^xsd:date] ; # 
  fhir:address ( [
fhir:state [ fhir:v "WI" ] ;
fhir:country [ fhir:v "USA" ]
  ] ) . #