Nationella informationsmängder
0.1 - draft
Nationella informationsmängder - Local Development build (v0.1). See the Directory of published versions
| Defining URL: | https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NLLMedication | 
| Version: | 0.1 | 
| Name: | NLLMedication | 
| Status: | Active as of 2021-03-30T19:36:18+02:00 | 
| Definition: | PLACEHOLDER This resource is used to represent a medicinal product or medical consumables, identified by an npl package id (sv: npl pack id) or product number (sv: varunummer).  | 
| Publisher: | Socialstyrelsen | 
| Source Resource: | XML / JSON / Turtle | 
The official URL for this profile is:
https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NLLMedication
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Medication
Summary
Mandatory: 3 elements (2 nested mandatory elements)
 Must-Support: 7 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Medication | Definition of a Medication | |
![]() ![]()  | 2..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]()  | S | 1..1 | Coding | NPL-id URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllNPLid  | 
![]() ![]()  | S | 1..1 | string | Name of the medication product URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllTradeName  | 
![]() ![]()  | S | 1..* | (Slice Definition) | Business identifier for this medication Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | S | 0..1 | Identifier | NPL package id | 
![]() ![]() ![]() ![]()  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/nplpackid  | |
![]() ![]() ![]()  | S | 0..1 | Identifier | Business identifier for medicine consumables | 
![]() ![]() ![]() ![]()  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/varunr  | |
![]() ![]()  | 0..1 | CodeableConcept | ATC Code | |
![]() ![]() ![]()  | 0..* | Coding | Code defined by a terminology system Binding: http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips (required)  | |
![]() ![]() ![]() ![]()  | 0..1 | uri | Identity of the terminology system Required Pattern: http://www.whocc.no/atc  | |
![]() ![]()  | S | 0..1 | CodeableConcept | powder | tablets | capsule + | 
![]() ![]()  | S | 0..1 | Ratio | Amount of drug in package | 
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Medication | Definition of a Medication | |
![]() ![]()  | Σ | 0..1 | string | Logical id of this artifact | 
![]() ![]()  | Σ | 0..1 | Meta | Metadata about the resource | 
![]() ![]()  | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.  | |
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]()  | 0..* | Resource | Contained, inline Resources | |
![]() ![]()  | 2..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]()  | S | 1..1 | Coding | NPL-id URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllNPLid  | 
![]() ![]()  | S | 1..1 | string | Name of the medication product URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllTradeName  | 
![]() ![]()  | ?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | SΣ | 1..* | (Slice Definition) | Business identifier for this medication Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | SΣ | 0..1 | Identifier | NPL package id | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]() ![]()  | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/nplpackid  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]() ![]()  | SΣ | 0..1 | Identifier | Business identifier for medicine consumables | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]() ![]()  | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/varunr  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | ATC Code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips (required)  | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://www.whocc.no/atc  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | Version of the system - if relevant | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | code | Symbol in syntax defined by the system | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | Representation defined by the system | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | boolean | If this coding was chosen directly by the user | 
![]() ![]() ![]()  | Σ | 0..1 | string | Plain text representation of the concept | 
![]() ![]()  | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.  | 
![]() ![]()  | Σ | 0..1 | Reference(Organization) | Manufacturer of the item | 
![]() ![]()  | S | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.  | 
![]() ![]()  | SΣ | 0..1 | Ratio | Amount of drug in package | 
![]() ![]()  | 0..* | BackboneElement | Active or inactive ingredient | |
![]() ![]() ![]()  | 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..1 | The actual ingredient or content | ||
![]() ![]() ![]() ![]()  | CodeableConcept | |||
![]() ![]() ![]() ![]()  | Reference(Substance | Medication) | |||
![]() ![]() ![]()  | 0..1 | boolean | Active ingredient indicator | |
![]() ![]() ![]()  | 0..1 | Ratio | Quantity of ingredient present | |
![]() ![]()  | 0..1 | BackboneElement | Details about packaged medications | |
![]() ![]() ![]()  | 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 | 
![]() ![]() ![]()  | 0..1 | string | Identifier assigned to batch | |
![]() ![]() ![]()  | 0..1 | dateTime | When batch will expire | |
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Medication | Definition of a Medication | |
![]() ![]()  | 1..1 | Coding | NPL-id URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllNPLid  | |
![]() ![]()  | 1..1 | string | Name of the medication product URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllTradeName  | |
![]() ![]()  | Σ | 1..* | (Slice Definition) | Business identifier for this medication Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | Σ | 0..1 | Identifier | NPL package id | 
![]() ![]() ![]()  | Σ | 0..1 | Identifier | Business identifier for medicine consumables | 
![]() ![]()  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.  | |
![]() ![]()  | Σ | 0..1 | Ratio | Amount of drug in package | 
  Documentation for this format | ||||
This structure is derived from Medication
Summary
Mandatory: 3 elements (2 nested mandatory elements)
 Must-Support: 7 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Medication | Definition of a Medication | |
![]() ![]()  | 2..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]()  | S | 1..1 | Coding | NPL-id URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllNPLid  | 
![]() ![]()  | S | 1..1 | string | Name of the medication product URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllTradeName  | 
![]() ![]()  | S | 1..* | (Slice Definition) | Business identifier for this medication Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | S | 0..1 | Identifier | NPL package id | 
![]() ![]() ![]() ![]()  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/nplpackid  | |
![]() ![]() ![]()  | S | 0..1 | Identifier | Business identifier for medicine consumables | 
![]() ![]() ![]() ![]()  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/varunr  | |
![]() ![]()  | 0..1 | CodeableConcept | ATC Code | |
![]() ![]() ![]()  | 0..* | Coding | Code defined by a terminology system Binding: http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips (required)  | |
![]() ![]() ![]() ![]()  | 0..1 | uri | Identity of the terminology system Required Pattern: http://www.whocc.no/atc  | |
![]() ![]()  | S | 0..1 | CodeableConcept | powder | tablets | capsule + | 
![]() ![]()  | S | 0..1 | Ratio | Amount of drug in package | 
  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Medication | Definition of a Medication | |
![]() ![]()  | Σ | 0..1 | string | Logical id of this artifact | 
![]() ![]()  | Σ | 0..1 | Meta | Metadata about the resource | 
![]() ![]()  | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.  | |
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]()  | 0..* | Resource | Contained, inline Resources | |
![]() ![]()  | 2..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]()  | S | 1..1 | Coding | NPL-id URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllNPLid  | 
![]() ![]()  | S | 1..1 | string | Name of the medication product URL: https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/nllTradeName  | 
![]() ![]()  | ?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | SΣ | 1..* | (Slice Definition) | Business identifier for this medication Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | SΣ | 0..1 | Identifier | NPL package id | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]() ![]()  | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/nplpackid  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]() ![]()  | SΣ | 0..1 | Identifier | Business identifier for medicine consumables | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]() ![]()  | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://electronichealth.se/fhir/NamingSystem/varunr  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | ATC Code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips (required)  | 
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]() ![]()  | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://www.whocc.no/atc  | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | Version of the system - if relevant | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | code | Symbol in syntax defined by the system | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | string | Representation defined by the system | 
![]() ![]() ![]() ![]()  | Σ | 0..1 | boolean | If this coding was chosen directly by the user | 
![]() ![]() ![]()  | Σ | 0..1 | string | Plain text representation of the concept | 
![]() ![]()  | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.  | 
![]() ![]()  | Σ | 0..1 | Reference(Organization) | Manufacturer of the item | 
![]() ![]()  | S | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.  | 
![]() ![]()  | SΣ | 0..1 | Ratio | Amount of drug in package | 
![]() ![]()  | 0..* | BackboneElement | Active or inactive ingredient | |
![]() ![]() ![]()  | 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..1 | The actual ingredient or content | ||
![]() ![]() ![]() ![]()  | CodeableConcept | |||
![]() ![]() ![]() ![]()  | Reference(Substance | Medication) | |||
![]() ![]() ![]()  | 0..1 | boolean | Active ingredient indicator | |
![]() ![]() ![]()  | 0..1 | Ratio | Quantity of ingredient present | |
![]() ![]()  | 0..1 | BackboneElement | Details about packaged medications | |
![]() ![]() ![]()  | 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 | 
![]() ![]() ![]()  | 0..1 | string | Identifier assigned to batch | |
![]() ![]() ![]()  | 0..1 | dateTime | When batch will expire | |
  Documentation for this format | ||||
Other representations of profile: Schematron
| Path | Conformance | ValueSet | 
| Medication.language | preferred | CommonLanguages Max Binding: AllLanguages  | 
| Medication.identifier:nplpackid.use | required | IdentifierUse | 
| Medication.identifier:nplpackid.type | extensible | Identifier Type Codes | 
| Medication.identifier:varunr.use | required | IdentifierUse | 
| Medication.identifier:varunr.type | extensible | Identifier Type Codes | 
| Medication.code | example | SNOMEDCTMedicationCodes | 
| Medication.code.coding | required | http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips | 
| Medication.status | required | Medication Status Codes | 
| Medication.form | example | SNOMEDCTFormCodes | 
| Id | Path | Details | Requirements | 
| dom-2 | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | Medication | 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 | Medication | 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 | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | Medication | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | Medication.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.extension:nplid | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.extension:nplid | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.extension:tradename | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.extension:tradename | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.identifier:nplpackid.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.identifier:nplpackid.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:nplpackid.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.identifier:varunr.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.identifier:varunr.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.identifier:varunr.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.code.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.code.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.code.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.code.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.manufacturer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.form | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.amount | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.ingredient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.ingredient.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.ingredient.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.ingredient.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.ingredient.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.ingredient.item[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.ingredient.isActive | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.ingredient.strength | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.batch | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.batch.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.batch.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.batch.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Medication.batch.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Medication.batch.lotNumber | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Medication.batch.expirationDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  |