The official URL for this profile is:
http://standardhealthrecord.org/fhir/StructureDefinition/cimi-medication-MedicationAdherenceStatement
The degree (frequency) that the stated treatment plan, prescription, or protocol was followed. A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.
This profile builds on US Core Results Profile.
This profile was published on Wed Aug 22 00:00:00 EDT 2018 as a draft by The MITRE Corporation: Standard Health Record Collaborative.
Summary
Mandatory: 0 element (2 nested mandatory elements)
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
SHR Mapping Source
This structure represents the following SHR mapping definition:
cimi.medication.MedicationAdherenceStatement maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults: EvaluationResultTopic.Category maps to category EvaluationResultTopic.FindingMethod maps to method EvaluationResultTopic.TopicCode maps to code EvaluationResultTopic.AnatomicalLocation maps to bodySite EvaluationResultTopic.Specimen maps to specimen EvaluationResultRecordedContext.ResultValue maps to value[x] EvaluationResultRecordedContext.ExceptionValue maps to dataAbsentReason EvaluationResultRecordedContext.Interpretation maps to interpretation EvaluationResultRecordedContext.RelevantTime maps to effective[x] EvaluationResultRecordedContext.FindingStatus maps to status EvaluationResultTopic.ReferenceRange maps to referenceRange EvaluationResultTopic.ReferenceRange.Range.LowerBound maps to referenceRange.low EvaluationResultTopic.ReferenceRange.Range.UpperBound maps to referenceRange.high EvaluationResultTopic.ReferenceRange.Type maps to referenceRange.type EvaluationResultTopic.ReferenceRange.ApplicableSubpopulation maps to referenceRange.appliesTo EvaluationResultTopic.ReferenceRange.ApplicableAgeRange maps to referenceRange.age EvaluationResultTopic.EvaluationComponent maps to component (slice on = coding.code; slice strategy = includes) EvaluationResultTopic.EvaluationComponent._Concept maps to component.code EvaluationResultTopic.EvaluationComponent.ComponentResultValue maps to component.value[x] EvaluationResultTopic.EvaluationComponent.ExceptionValue maps to component.dataAbsentReason EvaluationResultTopic.EvaluationComponent.Interpretation maps to component.interpretation EvaluationResultTopic.EvaluationComponent.ReferenceRange maps to component.referenceRange
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | SHR MedicationAdherenceStatement Profile us-core-2: If there is no component or related element then either a value[x] or a data absent reason must be present | |
![]() ![]() ![]() | Σ | 0..1 | id | 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: Common Languages (extensible) | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 1..1 | (Complex) | SHR SubjectOfInformation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-SubjectOfInformation-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR SourceOfInformation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-SourceOfInformation-extension | |
![]() ![]() ![]() | 0..* | AnnotationProfile | SHR Annotation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-element-Annotation-extension | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | SHR RecordStatus Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-RecordStatus-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR Recorded Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Recorded-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR Signed Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Signed-extension | |
![]() ![]() ![]() | 0..* | (Complex) | SHR Cosigned Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Cosigned-extension | |
![]() ![]() ![]() | 0..* | (Complex) | SHR Verified Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Verified-extension | |
![]() ![]() ![]() | 0..* | CodeableConceptProfile | SHR MedicationNonAdherenceReason Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-medication-MedicationNonAdherenceReason-extension Binding: SHR MedicationNonAdherenceReasonVS ValueSet (required) | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 0..* | Identifier | Business Identifier for observation |
![]() ![]() ![]() | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest) | Fulfills plan, proposal or order |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required) |
![]() ![]() ![]() | SI | 1..* | CodeableConceptProfile | Classification of type of observation Binding: Observation Category Codes (extensible) us-core-5: Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category' |
![]() ![]() ![]() | SΣ | 1..1 | CodeableConceptProfile | Laboratory Test Name Binding: LOINC Codes (extensible) |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | Σ | CodingProfile | Code defined by a terminology system Slice: Unordered, Open by value:code | |
![]() ![]() ![]() ![]() | Σ | 1..1 | CodingProfile | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ncimeta.nci.nih.gov |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: C2364172 |
![]() ![]() ![]() ![]() ![]() | Σ | 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 |
![]() ![]() ![]() | SΣ | 1..1 | Reference(US Core Patient Profile) | Who and/or what this is about |
![]() ![]() ![]() | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this observation is made | |
![]() ![]() ![]() | SΣI | 0..1 | dateTime, Period | Clinically relevant time/time-period for observation us-core-1: Datetime must be at least to day. |
![]() ![]() ![]() | Σ | 0..1 | instant | Date/Time this was made available |
![]() ![]() ![]() | Σ | 0..* | Reference(Practitioner | Organization | Patient | RelatedPerson) | Who is responsible for the observation |
![]() ![]() ![]() | SΣI | QuantityProfile, CodeableConceptProfile, string, boolean, RangeProfile, RatioProfile, time, dateTime, Period | Result Value Slice: Unordered, Open by type:$this us-core-4: SHOULD use Snomed CT for coded Results us-core-3: SHALL use UCUM for coded quantity units. | |
![]() ![]() ![]() | Σ | 0..1 | CodeableConceptProfile | Result Value Binding: SHR QualitativeFrequencyVS ValueSet (required) |
![]() ![]() ![]() | SI | 0..1 | CodeableConceptProfile | Why the result is missing Binding: SHR ExceptionValueVS ValueSet (extensible) |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | High, low, normal, etc. Binding: Observation Interpretation Codes (extensible) | |
![]() ![]() ![]() | 0..1 | string | Comments about result | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | Observed body part Binding: SHR AnatomicalLocationVS ValueSet (required) | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | How it was done Binding: LOINC Codes (preferred) | |
![]() ![]() ![]() | 0..1 | Reference(SHR Specimen Profile) | Specimen used for this observation | |
![]() ![]() ![]() | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |
![]() ![]() ![]() | ΣI | 0..* | BackboneElement | Resource related to this observation |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 0..1 | code | has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by Binding: ObservationRelationshipType (required) | |
![]() ![]() ![]() ![]() | 1..1 | Reference(Observation | QuestionnaireResponse | Sequence) | Resource that is related to this one | |
![]() ![]() ![]() | ΣI | 0..* | BackboneElement | Component results |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConceptProfile | Type of component observation (code / type) Binding: LOINC Codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | QuantityProfile, CodeableConceptProfile, string, RangeProfile, RatioProfile, Attachment, time, dateTime, Period | Actual component result |
![]() ![]() ![]() ![]() | I | 0..1 | CodeableConceptProfile | Why the component result is missing Binding: Observation Value Absent Reason (extensible) |
![]() ![]() ![]() ![]() | 0..1 | CodeableConceptProfile | High, low, normal, etc. Binding: Observation Interpretation Codes (extensible) | |
![]() |
Summary
Mandatory: 0 element (2 nested mandatory elements)
Fixed Value: 2 elements
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
SHR Mapping Source
This structure represents the following SHR mapping definition:
cimi.medication.MedicationAdherenceStatement maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults: EvaluationResultTopic.Category maps to category EvaluationResultTopic.FindingMethod maps to method EvaluationResultTopic.TopicCode maps to code EvaluationResultTopic.AnatomicalLocation maps to bodySite EvaluationResultTopic.Specimen maps to specimen EvaluationResultRecordedContext.ResultValue maps to value[x] EvaluationResultRecordedContext.ExceptionValue maps to dataAbsentReason EvaluationResultRecordedContext.Interpretation maps to interpretation EvaluationResultRecordedContext.RelevantTime maps to effective[x] EvaluationResultRecordedContext.FindingStatus maps to status EvaluationResultTopic.ReferenceRange maps to referenceRange EvaluationResultTopic.ReferenceRange.Range.LowerBound maps to referenceRange.low EvaluationResultTopic.ReferenceRange.Range.UpperBound maps to referenceRange.high EvaluationResultTopic.ReferenceRange.Type maps to referenceRange.type EvaluationResultTopic.ReferenceRange.ApplicableSubpopulation maps to referenceRange.appliesTo EvaluationResultTopic.ReferenceRange.ApplicableAgeRange maps to referenceRange.age EvaluationResultTopic.EvaluationComponent maps to component (slice on = coding.code; slice strategy = includes) EvaluationResultTopic.EvaluationComponent._Concept maps to component.code EvaluationResultTopic.EvaluationComponent.ComponentResultValue maps to component.value[x] EvaluationResultTopic.EvaluationComponent.ExceptionValue maps to component.dataAbsentReason EvaluationResultTopic.EvaluationComponent.Interpretation maps to component.interpretation EvaluationResultTopic.EvaluationComponent.ReferenceRange maps to component.referenceRange
Differential View
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | I | 0..* | SHR MedicationAdherenceStatement Profile us-core-2: If there is no component or related element then either a value[x] or a data absent reason must be present | |
![]() ![]() ![]() | Σ | 0..1 | id | 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: Common Languages (extensible) | |
![]() ![]() ![]() | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 1..1 | (Complex) | SHR SubjectOfInformation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-SubjectOfInformation-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR SourceOfInformation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-SourceOfInformation-extension | |
![]() ![]() ![]() | 0..* | AnnotationProfile | SHR Annotation Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-element-Annotation-extension | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | SHR RecordStatus Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-RecordStatus-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR Recorded Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Recorded-extension | |
![]() ![]() ![]() | 0..1 | (Complex) | SHR Signed Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Signed-extension | |
![]() ![]() ![]() | 0..* | (Complex) | SHR Cosigned Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Cosigned-extension | |
![]() ![]() ![]() | 0..* | (Complex) | SHR Verified Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-core-Verified-extension | |
![]() ![]() ![]() | 0..* | CodeableConceptProfile | SHR MedicationNonAdherenceReason Extension URL: http://standardhealthrecord.org/fhir/StructureDefinition/cimi-medication-MedicationNonAdherenceReason-extension Binding: SHR MedicationNonAdherenceReasonVS ValueSet (required) | |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 0..* | Identifier | Business Identifier for observation |
![]() ![]() ![]() | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest) | Fulfills plan, proposal or order |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required) |
![]() ![]() ![]() | SI | 1..* | CodeableConceptProfile | Classification of type of observation Binding: Observation Category Codes (extensible) us-core-5: Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category' |
![]() ![]() ![]() | SΣ | 1..1 | CodeableConceptProfile | Laboratory Test Name Binding: LOINC Codes (extensible) |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | Σ | CodingProfile | Code defined by a terminology system Slice: Unordered, Open by value:code | |
![]() ![]() ![]() ![]() | Σ | 1..1 | CodingProfile | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Identity of the terminology system Fixed Value: http://ncimeta.nci.nih.gov |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: C2364172 |
![]() ![]() ![]() ![]() ![]() | Σ | 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 |
![]() ![]() ![]() | SΣ | 1..1 | Reference(US Core Patient Profile) | Who and/or what this is about |
![]() ![]() ![]() | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this observation is made | |
![]() ![]() ![]() | SΣI | 0..1 | dateTime, Period | Clinically relevant time/time-period for observation us-core-1: Datetime must be at least to day. |
![]() ![]() ![]() | Σ | 0..1 | instant | Date/Time this was made available |
![]() ![]() ![]() | Σ | 0..* | Reference(Practitioner | Organization | Patient | RelatedPerson) | Who is responsible for the observation |
![]() ![]() ![]() | SΣI | QuantityProfile, CodeableConceptProfile, string, boolean, RangeProfile, RatioProfile, time, dateTime, Period | Result Value Slice: Unordered, Open by type:$this us-core-4: SHOULD use Snomed CT for coded Results us-core-3: SHALL use UCUM for coded quantity units. | |
![]() ![]() ![]() | Σ | 0..1 | CodeableConceptProfile | Result Value Binding: SHR QualitativeFrequencyVS ValueSet (required) |
![]() ![]() ![]() | SI | 0..1 | CodeableConceptProfile | Why the result is missing Binding: SHR ExceptionValueVS ValueSet (extensible) |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | High, low, normal, etc. Binding: Observation Interpretation Codes (extensible) | |
![]() ![]() ![]() | 0..1 | string | Comments about result | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | Observed body part Binding: SHR AnatomicalLocationVS ValueSet (required) | |
![]() ![]() ![]() | 0..1 | CodeableConceptProfile | How it was done Binding: LOINC Codes (preferred) | |
![]() ![]() ![]() | 0..1 | Reference(SHR Specimen Profile) | Specimen used for this observation | |
![]() ![]() ![]() | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |
![]() ![]() ![]() | ΣI | 0..* | BackboneElement | Resource related to this observation |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | 0..1 | code | has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by Binding: ObservationRelationshipType (required) | |
![]() ![]() ![]() ![]() | 1..1 | Reference(Observation | QuestionnaireResponse | Sequence) | Resource that is related to this one | |
![]() ![]() ![]() | ΣI | 0..* | BackboneElement | Component results |
![]() ![]() ![]() ![]() | 0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConceptProfile | Type of component observation (code / type) Binding: LOINC Codes (example) |
![]() ![]() ![]() ![]() | Σ | 0..1 | QuantityProfile, CodeableConceptProfile, string, RangeProfile, RatioProfile, Attachment, time, dateTime, Period | Actual component result |
![]() ![]() ![]() ![]() | I | 0..1 | CodeableConceptProfile | Why the component result is missing Binding: Observation Value Absent Reason (extensible) |
![]() ![]() ![]() ![]() | 0..1 | CodeableConceptProfile | High, low, normal, etc. Binding: Observation Interpretation Codes (extensible) | |
![]() |
Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron
Path | Name | Conformance | ValueSet |
Observation.language | Common Languages | extensible | Common Languages |
Observation.status | ObservationStatus | required | ObservationStatus |
Observation.category | Observation Category Codes | extensible | Observation Category Codes |
Observation.code | LOINC Codes | extensible | LOINC Codes |
Observation.valueCodeableConcept | SHR QualitativeFrequencyVS ValueSet | required | QualitativeFrequencyVS |
Observation.dataAbsentReason | SHR ExceptionValueVS ValueSet | extensible | ExceptionValueVS |
Observation.interpretation | Observation Interpretation Codes | extensible | Observation Interpretation Codes |
Observation.bodySite | SHR AnatomicalLocationVS ValueSet | required | AnatomicalLocationVS |
Observation.method | LOINC Codes | preferred | LOINC Codes |
Observation.referenceRange.type | Observation Reference Range Meaning Codes | extensible | Observation Reference Range Meaning Codes |
Observation.referenceRange.appliesTo | Observation Reference Range Applies To Codes | extensible | Observation Reference Range Applies To Codes |
Observation.related.type | ObservationRelationshipType | required | ObservationRelationshipType |
Observation.component.code | LOINC Codes | example | LOINC Codes |
Observation.component.dataAbsentReason | Observation Value Absent Reason | extensible | Observation Value Absent Reason |
Observation.component.interpretation | Observation Interpretation Codes | extensible | Observation Interpretation Codes |
Observation.component.referenceRange.type | Observation Reference Range Meaning Codes | extensible | Observation Reference Range Meaning Codes |
Observation.component.referenceRange.appliesTo | Observation Reference Range Applies To Codes | example | Observation Reference Range Applies To Codes |
Id | Path | Details | Requirements |
dom-2 | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | Observation | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | Observation | 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-3 | Observation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource : contained.where(('#'+id in %resource.descendants().reference).not()).empty() | |
obs-7 | Observation | If code is the same as a component code then the value element associated with the code SHALL NOT be present : value.empty() or code!=component.code | |
obs-6 | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
us-core-2 | Observation | If there is no component or related element then either a value[x] or a data absent reason must be present : (component.empty() and related.empty()) implies (dataAbsentReason or value) | |
us-core-5 | Observation.category | Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category' : where(coding.system='http://hl7.org/fhir/observation-category' and coding.code='laboratory').exists() | |
us-core-1 | Observation.effective[x] | Datetime must be at least to day. : ($this as dateTime).toString().length() >= 8 | |
us-core-4 | Observation.value[x] | SHOULD use Snomed CT for coded Results : valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct' | |
us-core-3 | Observation.value[x] | SHALL use UCUM for coded quantity units. : valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org' | |
ele-1 | Observation.related | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | Observation.component | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |