Search

ZD MedicationStatement

Resources conforming to this profile are requested by ZorgDomein when populating the referral letter or request form with data from the source information system.

Queries on the https://[FHIRServerUrl]/MedicationStatement endpoint may include the following query parameters:

  • patient=[PatientID]: [PatientID] refers to the patient ID that was provided in the JWT during SSO.
  • effective=ge[date]: the resources in the search result must only contain MedicationStatement resources that have a MedicationStatement.effective value that is greater than or equal to [date].
  • effective:missing=true: the resources in the search result must only contain MedicationStatement resources that have no value for MedicationStatement.effective.
  • _sort=-effective: indicates that the resources in the search result must be sorted by effective date, descending.

The canonical URL for this profile is:

http://zorgdomein.nl/fhir/StructureDefinition/zd-medicationstatement

This profile builds on MedicationStatement.


identifierΣ0..*Identifier
basedOnΣ0..*Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest)
partOfΣ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)
contextΣ0..1Reference(Encounter | EpisodeOfCare)
statusΣ ?!1..1codeBinding
categoryΣ0..1CodeableConceptBinding
medicationCodeableConceptCodeableConcept
medicationReferenceReference(Medication)
effectiveDateTimedateTime
effectivePeriodPeriod
dateAssertedΣ0..1dateTime
informationSource0..1Reference(Patient | Practitioner | RelatedPerson | Organization)
subjectS Σ1..1Reference(Patient | Group)
derivedFrom0..*Reference(Resource)
takenΣ ?!1..1codeBinding
reasonNotTaken0..*CodeableConcept
reasonCode0..*CodeableConcept
reasonReference0..*Reference(Condition | Observation)
note0..*Annotation
sequenceΣ0..1integer
textS Σ1..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionΣ0..1string
timingΣ0..1Timing
asNeededBooleanboolean
asNeededCodeableConceptCodeableConcept
siteΣ0..1CodeableConcept
routeΣ0..1CodeableConcept
methodΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
maxDosePerPeriodΣ0..1Ratio
maxDosePerAdministrationΣ0..1SimpleQuantity
maxDosePerLifetimeΣ0..1SimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity

See the profile on simplifier.net for additional details.

Resource example

Below you find an example of a ZD MedicationStatement resource. 

{
  "resourceType" : "MedicationStatement",
  "id" : "zd-medicationstatement-1",
  "meta" : {
    "profile" : [
      "http://zorgdomein.nl/fhir/StructureDefinition/zd-medicationstatement"
    ]
  },
  "status" : "completed",
  "medicationCodeableConcept" : {
    "coding" : [
      {
        "system" : "http://snomed.info/sct",
        "code" : "27658006",
        "display" : "Amoxicillin (product)"
      }
    ]
  },
  "effectiveDateTime" : "2014-01-23",
  "dateAsserted" : "2015-02-22",
  "informationSource" : {
    "reference" : "Patient/zd-patient-1",
    "display" : "K. Aelbrinck-de Jager"
  },
  "subject" : {
    "reference" : "Patient/zd-patient-1",
    "display" : "K. Aelbrinck-de Jager"
  },
  "taken" : "y",
  "reasonCode" : [
    {
      "coding" : [
        {
          "system" : "http://snomed.info/sct",
          "code" : "65363002",
          "display" : "Otitis Media"
        }
      ]
    }
  ],
  "note" : [
    {
      "text" : "Patient indicates they miss the occasional dose"
    }
  ],
  "dosage" : [
    {
      "text" : "one capsule three times daily",
      "timing" : {
        "repeat" : {
          "frequency" : 3,
          "period" : 1,
          "periodUnit" : "d"
        }
      },
      "asNeededBoolean" : false,
      "route" : {
        "coding" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "260548002",
            "display" : "Oral"
          }
        ]
      },
      "maxDosePerPeriod" : {
        "numerator" : {
          "value" : 3,
          "unit" : "capsules",
          "system" : "http://snomed.info/sct",
          "code" : "385055001"
        },
        "denominator" : {
          "value" : 1,
          "system" : "http://unitsofmeasure.org",
          "code" : "d"
        }
      }
    }
  ]
}
<?xml version="1.0" encoding="UTF-8"?>
<MedicationStatement xmlns="http://hl7.org/fhir">
  <id value="zd-medicationstatement-1"/>
  <meta>
    <profile value="http://zorgdomein.nl/fhir/StructureDefinition/zd-medicationstatement"/>
  </meta>
  <status value="completed"/>
  <medicationCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="27658006"/>
      <display value="Amoxicillin (product)"/>
    </coding>
  </medicationCodeableConcept>
  <effectiveDateTime value="2014-01-23"/>
  <dateAsserted value="2015-02-22"/>
  <informationSource>
    <reference value="Patient/zd-patient-1"/>
    <display value="K. Aelbrinck-de Jager"/>
  </informationSource>
  <subject>
    <reference value="Patient/zd-patient-1"/>
    <display value="K. Aelbrinck-de Jager"/>
  </subject>
  <taken value="y"/>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="65363002"/>
      <display value="Otitis Media"/>
    </coding>
  </reasonCode>
  <note>
    <text value="Patient indicates they miss the occasional dose"/>
  </note>
  <dosage>
    <text value="one capsule three times daily"/>
    <timing>
      <repeat>
        <frequency value="3"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <asNeededBoolean value="false"/>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="260548002"/>
        <display value="Oral"/>
      </coding>
    </route>
    <maxDosePerPeriod>
      <numerator>
        <value value="3"/>
        <unit value="capsules"/>
        <system value="http://snomed.info/sct"/>
        <code value="385055001"/>
      </numerator>
      <denominator>
        <value value="1"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="d"/>
      </denominator>
    </maxDosePerPeriod>
  </dosage>
</MedicationStatement>