Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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: R4B R4 R3 R5 R2 R4B

Extension-questionnaireresponse-reviewer.json

Example SubstanceDefinition/example (Turtle)

FHIR Infrastructure Biomedical Research and Regulation Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments
Raw

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

reviewer Example of substancedefinition

{ "resourceType" : "StructureDefinition", "id" : "questionnaireresponse-reviewer", "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode" : "fhir" }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 1 }], "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", "version" : "4.0.1", "name" : "reviewer", "title" : "Reviewer", "status" : "draft", "date" : "2013-07-04", "publisher" : "HL7", "contact" : [{ "telecom" : [{ "system" : "url", "value" : "http://www.hl7.org" }] }], "description" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.", "fhirVersion" : "4.0.1", "mapping" : [{ "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }], "kind" : "complex-type", "abstract" : false, "context" : [{ "type" : "element", "expression" : "QuestionnaireResponse" }], "type" : "Extension", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension", "derivation" : "constraint", "snapshot" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "Who verified completion of form?", "definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.", "min" : 0, "max" : "1", "base" : { "path" : "Extension", "min" : 0, "max" : "*" }, "condition" : ["ele-1"], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false, "mapping" : [{ "identity" : "rim", "map" : "./participation[typeCode=VRF]/role" }] }, { "id" : "Extension.id", "path" : "Extension.id", "representation" : ["xmlAttr"], "short" : "Unique id for inter-element referencing", "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "string" }], "code" : "http://hl7.org/fhirpath/System.String" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "n/a" }] }, { "id" : "Extension.extension", "path" : "Extension.extension", "slicing" : { "discriminator" : [{ "type" : "value", "path" : "url" }], "description" : "Extensions are always sliced by (at least) url", "rules" : "open" }, "short" : "Extension", "definition" : "An Extension", "min" : 0, "max" : "0", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [{ "code" : "Extension" }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }, { "key" : "ext-1", "severity" : "error", "human" : "Must have either extensions or value[x], not both", "expression" : "extension.exists() != value.exists()", "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source" : "http://hl7.org/fhir/StructureDefinition/Extension" }], "isModifier" : false, "isSummary" : false }, { "id" : "Extension.url", "path" : "Extension.url", "representation" : ["xmlAttr"], "short" : "identifies the meaning of the extension", "definition" : "Source of the definition for the extension code - a logical name or a URL.", "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min" : 1, "max" : "1", "base" : { "path" : "Extension.url", "min" : 1, "max" : "1" }, "type" : [{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl" : "uri" }], "code" : "http://hl7.org/fhirpath/System.String" }], "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer", "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "short" : "Value of extension", "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", "min" : 1, "max" : "1", "base" : { "path" : "Extension.value[x]", "min" : 0, "max" : "1" }, "type" : [{ "code" : "Reference", "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"] }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "http://hl7.org/fhir/StructureDefinition/Element" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }] }, "differential" : { "element" : [{ "id" : "Extension", "path" : "Extension", "short" : "Who verified completion of form?", "definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.", "min" : 0, "max" : "1", "mapping" : [{ "identity" : "rim", "map" : "./participation[typeCode=VRF]/role" }] }, { "id" : "Extension.extension", "path" : "Extension.extension", "max" : "0" }, { "id" : "Extension.url", "path" : "Extension.url", "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer" }, { "id" : "Extension.value[x]", "path" : "Extension.value[x]", "min" : 1, "type" : [{ "code" : "Reference", "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"] }] }] } }
@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:SubstanceDefinition ;
  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: SubstanceDefinition</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 SubstanceDefinition &quot;example&quot; </p></div><p><b>identifier</b>: id: 100000099270</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>classification</b>: Chemical <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (SubstanceType#100000075670)</span></p><p><b>domain</b>: Human use <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Domain#100000000012)</span></p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>SUB99611MIG <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Substance#SUB99611MIG)</span></td></tr></table><blockquote><p><b>name</b></p><p><b>name</b>: PARACETAMOL</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: true</p><p><b>language</b>: English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ΠΑΡΑΚΕΤΑΜΌΛΗ</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: Greek <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#el)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ПАРАЦЕТАМОЛ</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: Bulgarian <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#bg)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ACETAMINOPHEN</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></p></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.europa.eu/fhir/SMSId"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "100000099270" ]
  ] ) ; # 
  fhir:status [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.europa.eu/fhir/Status"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "200000005004" ] ;
       fhir:display [ fhir:v "Current" ]
     ] )
  ] ; # 
  fhir:classification ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.europa.eu/fhir/SubstanceType"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "100000075670" ] ;
       fhir:display [ fhir:v "Chemical" ]
     ] )
  ] ) ; # 
  fhir:domain [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.europa.eu/fhir/Domain"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "100000000012" ] ;
       fhir:display [ fhir:v "Human use" ]
     ] )
  ] ; # 
  fhir:code ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.europa.eu/fhir/Substance"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "SUB99611MIG" ]
       ] )
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:name [ fhir:v "PARACETAMOL" ] ;
     fhir:status [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.europa.eu/fhir/Status"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "200000005004" ] ;
         fhir:display [ fhir:v "Current" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v "true"^^xsd:boolean ] ;
     fhir:language ( [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "en" ] ;
         fhir:display [ fhir:v "English" ]
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "ΠΑΡΑΚΕΤΑΜΌΛΗ" ] ;
     fhir:status [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.europa.eu/fhir/Status"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "200000005004" ] ;
         fhir:display [ fhir:v "Current" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v "false"^^xsd:boolean ] ;
     fhir:language ( [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "el" ] ;
         fhir:display [ fhir:v "Greek" ]
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "ПАРАЦЕТАМОЛ" ] ;
     fhir:status [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.europa.eu/fhir/Status"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "200000005004" ] ;
         fhir:display [ fhir:v "Current" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v "false"^^xsd:boolean ] ;
     fhir:language ( [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "bg" ] ;
         fhir:display [ fhir:v "Bulgarian" ]
       ] )
     ] )
  ] [
     fhir:name [ fhir:v "ACETAMINOPHEN" ] ;
     fhir:status [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.europa.eu/fhir/Status"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "200000005004" ] ;
         fhir:display [ fhir:v "Current" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v "false"^^xsd:boolean ] ;
     fhir:language ( [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "en" ] ;
         fhir:display [ fhir:v "English" ]
       ] )
     ] )
  ] )] . # 

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



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.