Release 4 5 Ballot

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-ballot: R5 Ballot - 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 R2

Content Detailed Descriptions Mappings XML JSON

Example ValueSet/encounter-admit-source (Turtle)

Extension: effectiveDate URL for this extension: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate Status: draft. Extension maintained by: HL7 This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date. Context of Use: Use on Element ID ValueSet Extension Content
Vocabulary Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context : Any

Summary Name Flags Card. Type Description & Constraints effectiveDate 0..1 dateTime Raw Turtle URL = http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate effectiveDate: This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date. Use on Element ID ValueSet Documentation for this format (+ also see Turtle/RDF Format Specification Full Structure )

Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate effectiveDate: This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date. Use on Element ID ValueSet extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate" value[x] I 1..1 dateTime Value of extension Documentation for this format

XML Template Definition for Value SetAdmitSource

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

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

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "encounter-admit-source"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/ValueSet/encounter-admit-source"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.257" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "AdmitSource"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project team"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "This value set defines a set of codes that can be used to indicate from where the patient came in."];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/encounter-admit-source"];
  fhir:ValueSet.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.257" ]
  ];
  fhir:ValueSet.version [ fhir:value "5.0.0-ballot"];
  fhir:ValueSet.name [ fhir:value "AdmitSource"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
  fhir:ValueSet.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "This value set defines a set of codes that can be used to indicate from where the patient came in."];
  fhir:ValueSet.compose [
     fhir:ValueSetComposeComponent.include [
       fhir:ConceptSetComponent.system [ fhir:value "http://terminology.hl7.org/CodeSystem/admit-source" ]
     ]
  ] .

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



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

Summary Name Flags Card. Type Description & Constraints effectiveDate 0..1 dateTime URL = http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate effectiveDate: This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected Usage note: every effort has been made to be as of 0001 UTC of the Effective Date. Use on Element ID ValueSet Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate effectiveDate: This is the first date-time when ensure that the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC examples are correct and useful, but they are not a normative part of the Effective Date. Use on Element ID ValueSet extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate" value[x] I 1..1 dateTime Value of extension Documentation for this format XML Template specification.

<!-- effectiveDate --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension>
JSON Template { // // 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 )