New Zealand MWS IG
1.1.0 - Release
New Zealand MWS IG - Local Development build (v1.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://hl7.org.nz/fhir/StructureDefinition/MwsAllergyIntolerance | Version: 1.1.0 | |||
Active as of 2025-01-28 | Computable Name: MwsAllergyIntolerance |
MWS AllergyIntolerance resource represents the nationally held allergy and adverse drug reactions for a patient.
It includes the following attributes
Other attributes from the standard profile maybe considered for future releases.
MWS populates this date from the system date when the record is created or updated.
It must not be supplied on create.
Recorder has 3 parts organisation, facility/location and person/practitioner.
The facility and person are required. The organisation is optional.
Each are represented by an HPI identifier. HPI Organisation ID, HPI Facility ID and HPI CPN.
Currently only an HPI CPN is acceptable – If HPI responsible authority ID eg medical council number is preferred please provide that feedback.
Where the recorder is a person without an HPI CPN then a local identifier must be supplied.
The category is mandatory and must be derived from the code that a user has selected. It should not be user entered.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | code | food | medication | environment | biologic Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Mws Patient) | Who the sensitivity is for ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) ele-1: All FHIR elements must have a @value or children | |
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.category | required | AllergyIntoleranceCategoryhttp://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1 from the FHIR Standard | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
This structure is derived from AllergyIntolerance
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | code | food | medication | environment | biologic | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) | |
![]() ![]() ![]() |
1..1 | Reference(Mws Patient) | Who the sensitivity is for | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 0..* | Identifier | External ids for this item |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) |
![]() ![]() ![]() |
Σ | 0..1 | code | food | medication | environment | biologic Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances. |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Mws Patient) | Who the sensitivity is for |
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified | |
![]() ![]() ![]() |
0..1 | dateTime | Date first version of the resource instance was recorded | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity | |
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) | |
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.category | required | AllergyIntoleranceCategoryhttp://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1 from the FHIR Standard | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
This structure is derived from AllergyIntolerance
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | code | food | medication | environment | biologic Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Mws Patient) | Who the sensitivity is for ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) ele-1: All FHIR elements must have a @value or children | |
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.category | required | AllergyIntoleranceCategoryhttp://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1 from the FHIR Standard | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
Differential View
This structure is derived from AllergyIntolerance
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | code | food | medication | environment | biologic | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) | |
![]() ![]() ![]() |
1..1 | Reference(Mws Patient) | Who the sensitivity is for | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error URL-LENGTH: URLs must be less than 1024 characters URL-ALLOWED-CHARS: character restrictions for URLs SYSTEM-LENGTH: System URLs must be less than 1024 characters SYSTEM-ALLOWED-CHARS: character restrictions for system url CODEABLE-CONCEPT-TEXT-LENGTH: valueCodeableConcept.text must be less than 1024 characters CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS: character restrictions for valueCodeableConcept.text NOTE-LENGTH: System URLs must be less than 1024 characters NOTE-ALLOWED-CHARS: character restrictions for system notes -excluding special characters which may be used for xss |
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() |
0..2 | Contained, inline Resources | ||
![]() ![]() ![]() ![]() |
PractitionerRole | |||
![]() ![]() ![]() ![]() |
Patient | |||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 0..* | Identifier | External ids for this item |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | active | inactive Binding: MWS Clinical status (required) |
![]() ![]() ![]() |
?!ΣC | 0..1 | CodeableConcept | refuted | entered-in-error Binding: MWS verification status (required) |
![]() ![]() ![]() |
Σ | 0..1 | code | food | medication | environment | biologic Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances. |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: NZULM codes (required) |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Mws Patient) | Who the sensitivity is for |
![]() ![]() ![]() |
0..1 | dateTime | When allergy or intolerance was identified | |
![]() ![]() ![]() |
0..1 | dateTime | Date first version of the resource instance was recorded | |
![]() ![]() ![]() |
0..1 | Reference(PractitionerRole) | Who recorded the sensitivity | |
![]() ![]() ![]() |
0..1 | Annotation | Additional text not captured in other fields | |
![]() ![]() ![]() |
0..1 | BackboneElement | Adverse Reaction Events linked to exposure to substance | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..50 | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 (required) | |
![]() |
Path | Conformance | ValueSet | URI |
AllergyIntolerance.clinicalStatus | required | Mws_clinical_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-clinical-status | |
AllergyIntolerance.verificationStatus | required | Mws_verification_statushttps://nzhts.digital.health.nz/fhir/ValueSet/mws-verification-status | |
AllergyIntolerance.category | required | AllergyIntoleranceCategoryhttp://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1 from the FHIR Standard | |
AllergyIntolerance.code | required | Mws_substance_combinedhttps://nzhts.digital.health.nz/fhir/ValueSet/mws-substance-combined | |
AllergyIntolerance.reaction.manifestation | required | http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106http://snomed.info/sct/21000210109/version/20240401?fhir_vs=refset%2F351000210106 |
Id | Grade | Path(s) | Details | Requirements |
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for valueCodeableConcept.text : AllergyIntolerance.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$')) | |
CODEABLE-CONCEPT-TEXT-LENGTH | error | AllergyIntolerance | valueCodeableConcept.text must be less than 1024 characters : AllergyIntolerance.descendants().valueCodeableConcept.text.all(length()<1024) | |
NOTE-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system notes -excluding special characters which may be used for xss : AllergyIntolerance.note.text.all(matches('^.*\u003c|\u003e|\u0022|\u0027.*$').not()) | |
NOTE-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.note.text.all(length()<1024) | |
SYSTEM-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for system url : AllergyIntolerance.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
SYSTEM-LENGTH | error | AllergyIntolerance | System URLs must be less than 1024 characters : AllergyIntolerance.descendants().system.all(length()<1024) | |
URL-ALLOWED-CHARS | error | AllergyIntolerance | character restrictions for URLs : AllergyIntolerance.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$')) | |
URL-LENGTH | error | AllergyIntolerance | URLs must be less than 1024 characters : AllergyIntolerance.descendants().url.all(length()<1024) |
This structure is derived from AllergyIntolerance
Other representations of profile: CSV, Excel, Schematron