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

Content Detailed Descriptions Mappings XML JSON

Example CodeSystem/deviceusage-adherence-reason (Turtle)

Extension: basedOn URL for this extension: http://hl7.org/fhir/StructureDefinition/event-basedOn Status: draft. Extension maintained by: Health Level Seven, Inc. - FHIR WG A plan, proposal or order that is fulfilled in whole or in part by this event. Context of Use: Use on Element ID Condition Extension Content
FHIR Infrastructure Orders and Observations Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context : Any

Summary Name Flags Card. Type Description & Constraints basedOn 0..* Reference Raw Turtle ( Resource (+ also see Turtle/RDF Format Specification ) URL = http://hl7.org/fhir/StructureDefinition/event-basedOn basedOn: A plan, proposal or order that is fulfilled in whole or in part by this event. Use on Element ID Condition Documentation for this format Full Structure

Name Flags Card. Type Description & Constraints extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/event-basedOn basedOn: A plan, proposal or order that is fulfilled in whole or in part by this event. Use on Element ID Condition extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/event-basedOn" value[x] I 1..1 Reference ( Resource ) Value of extension Documentation for this format

XML Template Definition for Code SystemDeviceUsageAdherenceReason

<!-- basedOn -->
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "deviceusage-adherence-reason"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-01T23:03:57.298+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "oo" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "0" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/deviceusage-adherence-reason"], [ fhir:v "http://hl7.org/fhir/deviceusage-adherence-reason"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1855" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1855" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0-draft-final"], [ fhir:v "5.0.0-draft-final"] ;
  fhir:name [ fhir:v "DeviceUsageAdherenceReason"], [ fhir:v "DeviceUsageAdherenceReason"] ;
  fhir:title [ fhir:v "Device Usage Adherence Reason"], [ fhir:v "Device Usage Adherence Reason"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"], [ fhir:v "2021-01-05T10:01:24+11:00"] ;
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ fhir:v "HL7 (FHIR Project)"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "A coded concept indicating the reason for the usage of the device."], [ fhir:v "A coded concept indicating the reason for the usage of the device."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/deviceusage-adherence-reason"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "lost" ] ;
     fhir:display [ fhir:v "Lost" ] ;
     fhir:definition [ fhir:v "The device is lost." ]
  ] [
     fhir:code [ fhir:v "stolen" ] ;
     fhir:display [ fhir:v "Stolen" ] ;
     fhir:definition [ fhir:v "The device is stolen." ]
  ] [
     fhir:code [ fhir:v "prescribed" ] ;
     fhir:display [ fhir:v "Prescribed" ] ;
     fhir:definition [ fhir:v "The device is prescribed." ]
  ] [
     fhir:code [ fhir:v "broken" ] ;
     fhir:display [ fhir:v "Broken" ] ;
     fhir:definition [ fhir:v "The device is broken." ]
  ] [
     fhir:code [ fhir:v "burned" ] ;
     fhir:display [ fhir:v "Burned" ] ;
     fhir:definition [ fhir:v "The device is burned." ]
  ] [
     fhir:code [ fhir:v "forgot" ] ;
     fhir:display [ fhir:v "Forgot" ] ;
     fhir:definition [ fhir:v "The device is forgotten." ]
  ] ) .

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



< xmlns="http://hl7.org/fhir"
     url="" >
  <!-- from Element: 
 <</valueReference>
</extension>
JSON
Template
  
{ // 
  // from Element: 
    " ]
    " 
    "
  }

Summary Name Flags Card. Type Description & Constraints basedOn 0..* Reference ( Resource ) URL = http://hl7.org/fhir/StructureDefinition/event-basedOn basedOn: A plan, proposal or order that is fulfilled in whole or in part by this event. Use on Element ID Condition Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..* Extension URL = http://hl7.org/fhir/StructureDefinition/event-basedOn basedOn: A plan, proposal or order Usage note: every effort has been made to ensure that is fulfilled in whole or in the examples are correct and useful, but they are not a normative part by this event. Use on Element ID Condition extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/event-basedOn" value[x] I 1..1 Reference ( Resource ) Value of extension Documentation for this format XML Template <!-- basedOn --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: <</valueReference> </extension> JSON Template the 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 )