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: R5 R4B R4 R3

Content Detailed Descriptions Mappings XML JSON

Example Medication/med0315 (JSON)

Extension: styleSensitive URL for this extension: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive Status: draft. Extension maintained by: Health Level Seven International (FHIR Infrastructure) Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource. Comment : If set to true, all systems that claim to support this extension and that render elements from the resource SHALL either render the content as required by the style extensions ([style], [xhtml] and [markdown]) or shall indicate to the user that the resource (or specific elements in the resource) cannot be appropriately rendered by the system. Context of Use: Use on Element ID Element Extension Content
FHIR Infrastructure Pharmacy Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context Compartments : Any Not linked to any defined compartments

Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive styleSensitive: Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource. Use on Element ID Element extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" value[x] Raw JSON I 1..1 boolean ( canonical form Value of extension Documentation for this format + also see JSON Format Specification XML Template )

<!-- styleSensitive --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension>

JSON Template Generic Formulation - Mometasone Furoate 0.05mg/Actuat

{ // // from Element: " ] " "
{
  "resourceType" : "Medication",
  "id" : "med0315",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"med0315\"> </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 Medication &quot;med0315&quot; </p></div><p><b>code</b>: Mometasone Furoate 0.05mg/Actuat <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#358793)</span></p><p><b>doseForm</b>: Nasal Spray <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385157007)</span></p></div>"
  },
  "code" : {
    "coding" : [{
      "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
      "code" : "358793",
      "display" : "Mometasone Furoate 0.05mg/Actuat"
    }]
  },
  "doseForm" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "385157007",
      "display" : "Nasal Spray"
    }]

  }
}

Summary Name Flags Card. Type Description & Constraints styleSensitive 0..1 boolean URL = http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive styleSensitive: Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used Usage note: every effort has been made to render the resource. Use on Element ID Element Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive styleSensitive: Indicates ensure that the style extensions (style, markdown and xhtml) in this resource instance examples are essential to the interpretation of the instance correct and that systems that useful, but they are not capable a normative part of rendering using those extensions should not be used to render the resource. Use on Element ID Element extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" value[x] I 1..1 boolean Value of extension Documentation for this format XML Template <!-- styleSensitive --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension> JSON Template specification.

{ // // from Element: " ] " " }
  Constraints ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div ) ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) ) ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div ) ext-1 : On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]) ) ele-1 : On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div )