Extension: MaritalStatusDateExtension Id: marital-status-date Title: "Patient Marital Status Date" Description: "An extension to capture the date for when the marital status came into effect." * ^experimental = true * ^status = #active * value[x] only date * valueDate 1..1 * ^context[+].type = #element * ^context[=].expression = "PatientLogicalModel.maritalStatus.effectiveDate" * ^context[+].type = #element * ^context[=].expression = "RelatedPersonLogicalModel.maritalStatus.effectiveDate" * ^context[+].type = #element * ^context[=].expression = "Patient.maritalStatus" * ^context[+].type = #element * ^context[=].expression = "Patient.maritalStatus.extension" * ^context[+].type = #element * ^context[=].expression = "RelatedPerson.extension" Extension: MaritalStatusAndEffectiveDateExtension Id: marital-status-and-effective-date Title: "Patient Marital Status and Effective Date" Description: "An extension to capture the marital status and the effective date for when the marital status came into effect." * ^experimental = true * ^status = #active * ^mapping[+].identity = "RelatedPersonLogicalModel" * ^mapping[=].name = "Related Person Logical Model" * ^mapping[=].uri = "http://jembi.org/fhir/StructureDefinition/RelatedPersonLogicalModel" * . SU // to ensure that both extensions are included in GET requests. * extension contains MaritalStatusExtension named Status 1..1 * extension[Status] * insert Mappings(RelatedPersonLogicalModel, maritalStatus) * obeys Extension-MaritalStatusAndEffectiveDateExtension-1 * extension contains MaritalStatusDateExtension named EffectiveDate 1..1 * extension[EffectiveDate] * insert Mappings(RelatedPersonLogicalModel, maritalStatus.effectiveDate) * ^context[+].type = #element * ^context[=].expression = "RelatedPerson" Extension: MaritalStatusExtension Id: marital-status Title: "Patient Marital Status" Description: "An extension to capture the marital status." * ^experimental = true * ^status = #active * value[x] only CodeableConcept * valueCodeableConcept from http://hl7.org/fhir/ValueSet/marital-status (extensible) * valueCodeableConcept 1..1 * valueCodeableConcept ^binding.extension[+].extension[+].url = "purpose" * valueCodeableConcept ^binding.extension[=].extension[=].valueCode = #extensible * valueCodeableConcept ^binding.extension[=].extension[+].url = "valueSet" * valueCodeableConcept ^binding.extension[=].extension[=].valueCanonical = "http://jembi.org/fhir/ValueSet/vs-marital-status" * valueCodeableConcept ^binding.extension[=].extension[+].url = "documentation" * valueCodeableConcept ^binding.extension[=].extension[=].valueMarkdown = "A demonstrable list of codes for marital status." * valueCodeableConcept ^binding.extension[=].url = "http://hl7.org/fhir/tools/StructureDefinition/additional-binding" * ^context[+].type = #element * ^context[=].expression = "RelatedPerson.extension" Extension: ObservedDateExtension Id: observed-date Title: "Date and Time Associated with the Assertion" Description: "Represents the date and time to be documented together with the assertion. This is not necessarily the same date and time the Observation was created! For example, it can be used to record a date and time in the past to indicate when a patient reached a certin clinical status." * ^experimental = true * ^status = #active * value[x] only dateTime * valueDateTime 1..1 * ^context[+].type = #element * ^context[=].expression = "Observation.value.ofType(CodeableConcept)" Extension: SourceSystemResourceReferenceExtension Id: source-system-resource-reference Title: "Source System Resource Reference" Description: "An extension to capture an ID generated by the source system for internal data referencing." * ^experimental = true * ^status = #active * value[x] only string * valueString 1..1 * ^context[+].type = #element * ^context[=].expression = "ofType(Reference)"