Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Guidanceresponse-example.ttl

Example GuidanceResponse/example (Turtle)

Clinical Decision Support Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments Patient

Raw Turtle (+ also see Turtle/RDF Format Specification )

Example of guidanceresponse

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

<http://hl7.org/fhir/GuidanceResponse/example> a fhir:GuidanceResponse;
  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><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 &quot;example&quot; </p></div><p><b>requestIdentifier</b>: id: guidanceRequest1</p><p><b>identifier</b>: id: guidanceResponse1</p><p><b>module</b>: <a href=\"http://someguidelineprovider.org/radiology-appropriateness-guidelines.html\">http://someguidelineprovider.org/radiology-appropriateness-guidelines.html</a></p><p><b>status</b>: success</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"encounter-example.html\">Encounter/example</a></p><p><b>occurrenceDateTime</b>: 2017-03-10T16:02:00Z</p><p><b>performer</b>: <a href=\"todo.html\">Device/software</a></p><p><b>reasonCode</b>: Guideline Appropriate Ordering Assessment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>outputParameters</b>: <a name=\"outputParameters1\"> </a></p><blockquote><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 &quot;outputParameters1&quot; </p></div><blockquote><p><b>parameter</b></p><p><b>name</b>: score</p><p><b>value</b>: 7</p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: item-assessed</p><p><b>value</b>: CT, head, wo iv contrast <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-CPT.html\">Current Procedural Terminology (CPT®)</a>#70450)</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: device</p><p><b>value</b>: <a href=\"todo.html\">Device/software</a></p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: guideline-followed</p><p><b>value</b>: <a href=\"http://someguidelineprovider.org/radiology-appropriateness-guidelines.html\">http://someguidelineprovider.org/radiology-appropriateness-guidelines.html</a></p></blockquote></blockquote></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Parameters;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "outputParameters1" ];
     fhir:Parameters.parameter [
       fhir:index 0;
       fhir:Parameters.parameter.name [ fhir:value "score" ];
       fhir:Parameters.parameter.valueDecimal [ fhir:value "7"^^xsd:decimal ]
     ], [
       fhir:index 1;
       fhir:Parameters.parameter.name [ fhir:value "item-assessed" ];
       fhir:Parameters.parameter.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
           fhir:Coding.code [ fhir:value "70450" ];
           fhir:Coding.display [ fhir:value "CT, head, wo iv contrast" ]
         ]

[a fhir:GuidanceResponse ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: GuidanceResponse</b><a name=\"example\"> </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 GuidanceResponse &quot;example&quot; </p></div><p><b>requestIdentifier</b>: id: guidanceRequest1</p><p><b>identifier</b>: id: guidanceResponse1</p><p><b>module</b>: <a href=\"http://someguidelineprovider.org/radiology-appropriateness-guidelines.html\">http://someguidelineprovider.org/radiology-appropriateness-guidelines.html</a></p><p><b>status</b>: success</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"encounter-example.html\">Encounter/example</a></p><p><b>occurrenceDateTime</b>: 2017-03-10T16:02:00Z</p><p><b>performer</b>: <a href=\"broken-link.html\">Device/software</a></p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Guideline Appropriate Ordering Assessment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table><p><b>outputParameters</b>: <a name=\"outputParameters1\"> </a></p><blockquote><p/><p><a name=\"outputParameters1\"> </a></p><blockquote><p><b>parameter</b></p><p><b>name</b>: score</p><p><b>value</b>: 7</p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: item-assessed</p><p><b>value</b>: CT, head, wo iv contrast <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-CPT.html\">Current Procedural Terminology (CPT®)</a>#70450)</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: device</p><p><b>value</b>: <a href=\"broken-link.html\">Device/software</a></p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: guideline-followed</p><p><b>value</b>: <a href=\"http://someguidelineprovider.org/radiology-appropriateness-guidelines.html\">http://someguidelineprovider.org/radiology-appropriateness-guidelines.html</a></p></blockquote></blockquote></div>"
  ] ; #    This example demonstrates the response to an $evaluate operation using the GuidanceResponse resource.   
  fhir:contained ( [
     a fhir:Parameters ;
     fhir:id [ fhir:v "outputParameters1" ] ;
     fhir:parameter ( [
       fhir:name [ fhir:v "score" ] ;
       fhir:value [ fhir:v "7"^^xsd:decimal ]
     ] [
       fhir:name [ fhir:v "item-assessed" ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "70450" ] ;
           fhir:display [ fhir:v "CT, head, wo iv contrast" ]
         ] )

       ]
     ], [
       fhir:index 2;
       fhir:Parameters.parameter.name [ fhir:value "device" ];
       fhir:Parameters.parameter.valueReference [
         fhir:link <http://hl7.org/fhir/Device/software>;
         fhir:Reference.reference [ fhir:value "Device/software" ]

     ] [
       fhir:name [ fhir:v "device" ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:reference [ fhir:v "Device/software" ]

       ]
     ], [
       fhir:index 3;
       fhir:Parameters.parameter.name [ fhir:value "guideline-followed" ];
       fhir:Parameters.parameter.valueUri [ fhir:value "http://someguidelineprovider.org/radiology-appropriateness-guidelines.html" ]

     ] [
       fhir:name [ fhir:v "guideline-followed" ] ;
       fhir:value [ fhir:v "http://someguidelineprovider.org/radiology-appropriateness-guidelines.html"^^xsd:anyURI ]
     ] )
  ] ) ; # 
  fhir:requestIdentifier [
     fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "guidanceRequest1" ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "guidanceResponse1" ]
  ] ) ; # 
  fhir:module [ fhir:v "http://someguidelineprovider.org/radiology-appropriateness-guidelines.html"^^xsd:anyURI] ; # 
  fhir:status [ fhir:v "success"] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:occurrenceDateTime [ fhir:v "2017-03-10T16:02:00Z"^^xsd:dateTime] ; # 
  fhir:performer [
     fhir:reference [ fhir:v "Device/software" ]
  ] ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:text [ fhir:v "Guideline Appropriate Ordering Assessment" ]

     ]
  ];
  fhir:GuidanceResponse.requestIdentifier [
     fhir:Identifier.system [ fhir:value "http://example.org" ];
     fhir:Identifier.value [ fhir:value "guidanceRequest1" ]
  ];
  fhir:GuidanceResponse.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org" ];
     fhir:Identifier.value [ fhir:value "guidanceResponse1" ]
  ];
  fhir:GuidanceResponse.moduleUri [ fhir:value "http://someguidelineprovider.org/radiology-appropriateness-guidelines.html"];
  fhir:GuidanceResponse.status [ fhir:value "success"];
  fhir:GuidanceResponse.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:GuidanceResponse.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/example>;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:GuidanceResponse.occurrenceDateTime [ fhir:value "2017-03-10T16:02:00Z"^^xsd:dateTime];
  fhir:GuidanceResponse.performer [
     fhir:link <http://hl7.org/fhir/Device/software>;
     fhir:Reference.reference [ fhir:value "Device/software" ]
  ];
  fhir:GuidanceResponse.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Guideline Appropriate Ordering Assessment" ]
  ];
  fhir:GuidanceResponse.outputParameters [
     fhir:Reference.reference [ fhir:value "#outputParameters1" ]
  ] .

<http://hl7.org/fhir/Device/software> a fhir:Device .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Encounter/example> a fhir:Encounter .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/GuidanceResponse/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/GuidanceResponse/example.ttl> .

  ] ) ; # 
  fhir:outputParameters [
     fhir:reference [ fhir:v "#outputParameters1" ]
  ]] . # 


# -------------------------------------------------------------------------------------


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.