OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build
OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions
Official URL: http://fhir.openmrs.org/core/StructureDefinition/omrs-immunization | Version: 0.1.0 | |||
Active as of 2023-06-23 | Computable Name: OMRSImmunization |
A FHIR Immunization Resource as understood by OpenMRS
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Immunization
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |
id | 1..1 | id | Logical id of this artifact | |
identifier | 0..0 | |||
status | 1..1 | code | completed | entered-in-error | not-done | |
statusReason | 0..0 | |||
vaccineCode | 1..1 | CodeableConcept | Vaccine product administered | |
patient | 1..1 | Reference(OpenMRS Patient) | Who was immunized | |
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |
Slices for occurrence[x] | 1..1 | dateTime, string | Vaccine administration date Slice: Unordered, Open by type:$this | |
occurrence[x]:occurrenceDateTime | 0..1 | dateTime | Vaccine administration date | |
recorded | 0..0 | |||
primarySource | 0..0 | |||
reportOrigin | 0..0 | |||
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |
lotNumber | 0..1 | string | Vaccine lot number | |
expirationDate | 0..1 | date | Vaccine expiration date | |
site | 0..0 | |||
route | 0..0 | |||
doseQuantity | 0..0 | |||
performer | ||||
function | 0..0 | |||
actor | 1..1 | Reference(Openmrs Practitioner) | Individual or organization who was performing | |
note | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | 0..0 | |||
isSubpotent | 0..0 | |||
education | 0..0 | |||
programEligibility | 0..0 | |||
fundingSource | 0..0 | |||
reaction | 0..0 | |||
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |
doseNumber[x] | 1..1 | positiveInt, string | Dose number within series | |
seriesDoses[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |
id | Σ | 1..1 | id | Logical id of this artifact |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | completed | entered-in-error | not-done Binding: ImmunizationStatusCodes (required): A set of codes indicating the current status of an Immunization. |
vaccineCode | Σ | 1..1 | CodeableConcept | Vaccine product administered Binding: VaccineAdministeredValueSet (example): The code for vaccine product administered. |
patient | Σ | 1..1 | Reference(OpenMRS Patient) | Who was immunized |
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |
Slices for occurrence[x] | Σ | 1..1 | Vaccine administration date Slice: Unordered, Open by type:$this | |
occurrenceDateTime | dateTime | |||
occurrenceString | string | |||
occurrence[x]:occurrenceDateTime | Σ | 0..1 | dateTime | Vaccine administration date |
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |
lotNumber | 0..1 | string | Vaccine lot number | |
expirationDate | 0..1 | date | Vaccine expiration date | |
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
doseNumber[x] | 1..1 | Dose number within series | ||
doseNumberPositiveInt | positiveInt | |||
doseNumberString | string | |||
Documentation for this format |
Path | Conformance | ValueSet |
Immunization.status | required | ImmunizationStatusCodes |
Immunization.vaccineCode | example | VaccineAdministeredValueSet |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Immunization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Immunization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Immunization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Immunization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Immunization | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |||||
id | Σ | 1..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | completed | entered-in-error | not-done Binding: ImmunizationStatusCodes (required): A set of codes indicating the current status of an Immunization. | ||||
vaccineCode | Σ | 1..1 | CodeableConcept | Vaccine product administered Binding: VaccineAdministeredValueSet (example): The code for vaccine product administered. | ||||
patient | Σ | 1..1 | Reference(OpenMRS Patient) | Who was immunized | ||||
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |||||
Slices for occurrence[x] | Σ | 1..1 | Vaccine administration date Slice: Unordered, Open by type:$this | |||||
occurrenceDateTime | dateTime | |||||||
occurrenceString | string | |||||||
occurrence[x]:occurrenceDateTime | Σ | 0..1 | dateTime | Vaccine administration date | ||||
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |||||
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |||||
lotNumber | 0..1 | string | Vaccine lot number | |||||
expirationDate | 0..1 | date | Vaccine expiration date | |||||
performer | Σ | 0..* | BackboneElement | Who performed event | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
actor | Σ | 1..1 | Reference(Openmrs Practitioner) | Individual or organization who was performing | ||||
subpotentReason | 0..* | CodeableConcept | Reason for being subpotent Binding: ImmunizationSubpotentReason (example): The reason why a dose is considered to be subpotent. | |||||
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
series | 0..1 | string | Name of vaccine series | |||||
authority | 0..1 | Reference(Organization) | Who is responsible for publishing the recommendations | |||||
targetDisease | 0..* | CodeableConcept | Vaccine preventatable disease being targetted Binding: ImmunizationTargetDiseaseCodes (example): The vaccine preventable disease the dose is being administered for. | |||||
doseNumber[x] | 1..1 | Dose number within series | ||||||
doseNumberPositiveInt | positiveInt | |||||||
doseNumberString | string | |||||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Immunization.language | preferred | CommonLanguages
| ||||
Immunization.status | required | ImmunizationStatusCodes | ||||
Immunization.vaccineCode | example | VaccineAdministeredValueSet | ||||
Immunization.subpotentReason | example | ImmunizationSubpotentReason | ||||
Immunization.protocolApplied.targetDisease | example | ImmunizationTargetDiseaseCodes |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Immunization
Summary
Mandatory: 1 element
Prohibited: 18 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Immunization
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |
id | 1..1 | id | Logical id of this artifact | |
identifier | 0..0 | |||
status | 1..1 | code | completed | entered-in-error | not-done | |
statusReason | 0..0 | |||
vaccineCode | 1..1 | CodeableConcept | Vaccine product administered | |
patient | 1..1 | Reference(OpenMRS Patient) | Who was immunized | |
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |
Slices for occurrence[x] | 1..1 | dateTime, string | Vaccine administration date Slice: Unordered, Open by type:$this | |
occurrence[x]:occurrenceDateTime | 0..1 | dateTime | Vaccine administration date | |
recorded | 0..0 | |||
primarySource | 0..0 | |||
reportOrigin | 0..0 | |||
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |
lotNumber | 0..1 | string | Vaccine lot number | |
expirationDate | 0..1 | date | Vaccine expiration date | |
site | 0..0 | |||
route | 0..0 | |||
doseQuantity | 0..0 | |||
performer | ||||
function | 0..0 | |||
actor | 1..1 | Reference(Openmrs Practitioner) | Individual or organization who was performing | |
note | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | 0..0 | |||
isSubpotent | 0..0 | |||
education | 0..0 | |||
programEligibility | 0..0 | |||
fundingSource | 0..0 | |||
reaction | 0..0 | |||
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |
doseNumber[x] | 1..1 | positiveInt, string | Dose number within series | |
seriesDoses[x] | 0..0 | |||
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |
id | Σ | 1..1 | id | Logical id of this artifact |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | completed | entered-in-error | not-done Binding: ImmunizationStatusCodes (required): A set of codes indicating the current status of an Immunization. |
vaccineCode | Σ | 1..1 | CodeableConcept | Vaccine product administered Binding: VaccineAdministeredValueSet (example): The code for vaccine product administered. |
patient | Σ | 1..1 | Reference(OpenMRS Patient) | Who was immunized |
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |
Slices for occurrence[x] | Σ | 1..1 | Vaccine administration date Slice: Unordered, Open by type:$this | |
occurrenceDateTime | dateTime | |||
occurrenceString | string | |||
occurrence[x]:occurrenceDateTime | Σ | 0..1 | dateTime | Vaccine administration date |
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |
lotNumber | 0..1 | string | Vaccine lot number | |
expirationDate | 0..1 | date | Vaccine expiration date | |
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
doseNumber[x] | 1..1 | Dose number within series | ||
doseNumberPositiveInt | positiveInt | |||
doseNumberString | string | |||
Documentation for this format |
Path | Conformance | ValueSet |
Immunization.status | required | ImmunizationStatusCodes |
Immunization.vaccineCode | example | VaccineAdministeredValueSet |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Immunization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Immunization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Immunization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Immunization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Immunization | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Immunization | 0..* | Immunization | Immunization event information | |||||
id | Σ | 1..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | completed | entered-in-error | not-done Binding: ImmunizationStatusCodes (required): A set of codes indicating the current status of an Immunization. | ||||
vaccineCode | Σ | 1..1 | CodeableConcept | Vaccine product administered Binding: VaccineAdministeredValueSet (example): The code for vaccine product administered. | ||||
patient | Σ | 1..1 | Reference(OpenMRS Patient) | Who was immunized | ||||
encounter | 0..1 | Reference(Openmrs Encounter) | Encounter immunization was part of | |||||
Slices for occurrence[x] | Σ | 1..1 | Vaccine administration date Slice: Unordered, Open by type:$this | |||||
occurrenceDateTime | dateTime | |||||||
occurrenceString | string | |||||||
occurrence[x]:occurrenceDateTime | Σ | 0..1 | dateTime | Vaccine administration date | ||||
location | 0..1 | Reference(OpenMRS Location) | Where immunization occurred | |||||
manufacturer | 0..1 | Reference(Organization) | Vaccine manufacturer | |||||
lotNumber | 0..1 | string | Vaccine lot number | |||||
expirationDate | 0..1 | date | Vaccine expiration date | |||||
performer | Σ | 0..* | BackboneElement | Who performed event | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
actor | Σ | 1..1 | Reference(Openmrs Practitioner) | Individual or organization who was performing | ||||
subpotentReason | 0..* | CodeableConcept | Reason for being subpotent Binding: ImmunizationSubpotentReason (example): The reason why a dose is considered to be subpotent. | |||||
protocolApplied | 0..1 | BackboneElement | Protocol followed by the provider | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
series | 0..1 | string | Name of vaccine series | |||||
authority | 0..1 | Reference(Organization) | Who is responsible for publishing the recommendations | |||||
targetDisease | 0..* | CodeableConcept | Vaccine preventatable disease being targetted Binding: ImmunizationTargetDiseaseCodes (example): The vaccine preventable disease the dose is being administered for. | |||||
doseNumber[x] | 1..1 | Dose number within series | ||||||
doseNumberPositiveInt | positiveInt | |||||||
doseNumberString | string | |||||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Immunization.language | preferred | CommonLanguages
| ||||
Immunization.status | required | ImmunizationStatusCodes | ||||
Immunization.vaccineCode | example | VaccineAdministeredValueSet | ||||
Immunization.subpotentReason | example | ImmunizationSubpotentReason | ||||
Immunization.protocolApplied.targetDisease | example | ImmunizationTargetDiseaseCodes |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Immunization
Summary
Mandatory: 1 element
Prohibited: 18 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron