First try, a ValueSet that follows the human readable page as closely as possible. A parser should look for table headers and fixed phrases to distill a ValueSet resource from this text
ValueSet url: http://hl7.org/fhir/vs/participant-type
A set of codes that can be used to indicate how an individual participates in an encounter.
This valueset defines its own terms in the system http://hl7.org/fhir/participant-type
Code | Display | Definition |
---|---|---|
translator | Translator | A translator who is facilitating communication with the patient during the encounter |
emergency | Emergency | A person to be contacted in case of an emergency during the encounter |
In addition, this value set includes codes defined in other code systems, using the following rules:
- Include codes from
http://hl7.org/fhir/v3/ParticipationType
where conceptis-a
_ParticipationAncillary
Alternatively, the use of headers and tables can be increased so the text is more structured and can be parsed more confidently
Name | ParticipantType |
Description | A set of codes that can be used to indicate how an individual participates in an encounter. |
ValueSet url | http://hl7.org/fhir/vs/participant-type |
This valueset defines its own terms in the system http://hl7.org/fhir/participant-type
Code | Display | Definition |
---|---|---|
translator | Translator | A translator who is facilitating communication with the patient during the encounter |
emergency | Emergency | A person to be contacted in case of an emergency during the encounter |
In addition, this value set includes codes defined in other code systems, using the following rules:
In/exclude | From | Axis | Argument |
---|---|---|---|
Include | http://hl7.org/fhir/v3/ParticipationType | is-a | _ParticipationAncillary |
Finally, we can include a structured markup language like YAML to replace the tables
A set of codes that can be used to indicate how an individual participates in an encounter.
url: http://hl7.org/fhir/vs/participant-type
name: ParticipantType
description: A set of codes that can be used to indicate how an individual participates in an encounter.
status: draft
experimental: true
define:
system: http://hl7.org/fhir/v3/ParticipationType
concept:
- [ code: "translator", display: "Translator", definition: "" ]
- [ code: "emergency", display: "Emergency", definition: "" ]
compose:
include:
- system: http://hl7.org/fhir/v3/ParticipationType
filter: [ property: "concept", op: "is-a", value: "_ParticipationAncillary" ]