Logical URI: http://smis.ch/fhir/StructureDefinition/RelatedObservation

Base Profile

The profile builds on Observation

identifierΣ0..*Identifier
basedOnΣ I0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest)
statusΣ ?!1..1codeBinding
category0..*CodeableConceptBinding
codeΣ1..1CodeableConcept
subjectΣ I0..1Reference(Patient | Group | Device | Location)
contextI0..1Reference(Encounter | EpisodeOfCare)
effectiveDateTimedateTime
effectivePeriodPeriod
issuedΣ0..1instant
performerΣ I0..*Reference(Practitioner | Organization | Patient | RelatedPerson)
valueQuantityQuantity
valueCodeableConceptCodeableConcept
valueStringstring
valueBooleanboolean
valueRangeRange
valueRatioRatio
valueSampledDataSampledData
valueAttachmentAttachment
valueTimetime
valueDateTimedateTime
valuePeriodPeriod
dataAbsentReasonI0..1CodeableConceptBinding
interpretation0..1CodeableConceptBinding
comment0..1string
bodySite0..1CodeableConcept
method0..1CodeableConcept
specimenI0..1Reference(Specimen)
deviceI0..1Reference(Device | DeviceMetric)
lowI0..1SimpleQuantity
highI0..1SimpleQuantity
type0..1CodeableConceptBinding
appliesTo0..*CodeableConcept
ageI0..1Range
text0..1string
type0..1codeBinding
targetI1..1Reference(Observation | QuestionnaireResponse | Sequence)
codeΣ1..1CodeableConcept
valueQuantityQuantity
valueCodeableConceptCodeableConcept
valueStringstring
valueRangeRange
valueRatioRatio
valueSampledDataSampledData
valueAttachmentAttachment
valueTimetime
valueDateTimedateTime
valuePeriodPeriod
dataAbsentReasonI0..1CodeableConceptBinding
interpretation0..1CodeableConceptBinding
referenceRange0..*see (referenceRange)

Differential table

identifierΣ0..*Identifier
basedOnΣ I0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest)
statusΣ ?!1..1codeBindingFixed Value
category1..*CodeableConceptBinding
codeΣ1..1CodeableConcept
subjectΣ I0..1Reference(SMIS Patient Profile)
contextI0..1Reference(Encounter | EpisodeOfCare)
effectiveDateTimeΣ0..1dateTime
issuedΣ0..1instant
performerΣ I0..*Reference(Practitioner | Organization | Patient | RelatedPerson)
valueQuantityΣ I0..1Quantity
dataAbsentReasonI0..1CodeableConceptBinding
interpretation0..1CodeableConceptBinding
comment0..1string
bodySite0..1CodeableConcept
method0..1CodeableConcept
specimenI0..1Reference(Specimen)
deviceI0..1Reference(Device | DeviceMetric)
lowI0..1SimpleQuantity
highI0..1SimpleQuantity
type0..1CodeableConceptBinding
appliesTo0..*CodeableConcept
ageI0..1Range
text0..1string
type0..1codeBinding
targetI1..1Reference(Observation | QuestionnaireResponse | Sequence)
codeΣ1..1CodeableConcept
valueQuantityQuantity
valueCodeableConceptCodeableConcept
valueStringstring
valueRangeRange
valueRatioRatio
valueSampledDataSampledData
valueAttachmentAttachment
valueTimetime
valueDateTimedateTime
valuePeriodPeriod
dataAbsentReasonI0..1CodeableConceptBinding
interpretation0..1CodeableConceptBinding
referenceRange0..*see (referenceRange)

Structure Definition

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="RelatedObservation" />
    <meta>
        <versionId value="1" />
        <lastUpdated value="2018-06-06T09:20:59.933+00:00" />
    </meta>
    <url value="http://smis.ch/fhir/StructureDefinition/RelatedObservation" />
    <version value="1.0" />
    <name value="RelatedObservation" />
    <title value="SMIS Related Observation Profile" />
    <status value="draft" />
    <date value="2018-08-24" />
    <publisher value="Arpage AG" />
    <contact>
        <name value="Patrick Husi" />
        <telecom>
            <system value="email" />
            <value value="patrick.husi@arpage.ch" />
        </telecom>
    </contact>
    <description value="SMIS Related Observation Profile" />
    <fhirVersion value="3.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Observation" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <derivation value="constraint" />
    <differential>
        <element id="Observation.status">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
                <valueString value="default: final" />
            </extension>
            <path value="Observation.status" />
            <fixedCode value="final" />
        </element>
        <element id="Observation.category">
            <path value="Observation.category" />
            <min value="1" />
        </element>
        <element id="Observation.subject">
            <path value="Observation.subject" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://smis.ch/fhir/StructureDefinition/Patient" />
                <aggregation value="referenced" />
            </type>
            <constraint>
                <key value="smis-obs-1" />
                <severity value="error" />
                <human value="Either reference or identifier should be present" />
                <expression value="reference.exists() or identifier.exists()" />
                <xpath value="exists(f:reference) or exists(f:identifier)" />
            </constraint>
        </element>
        <element id="Observation.effective[x]:effectiveDateTime">
            <path value="Observation.effectiveDateTime" />
            <sliceName value="effectiveDateTime" />
            <type>
                <code value="dateTime" />
            </type>
        </element>
        <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.valueQuantity" />
            <sliceName value="valueQuantity" />
            <type>
                <code value="Quantity" />
            </type>
        </element>
    </differential>
</StructureDefinition>