HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1
1.0.0 - STU1 International flag

HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1, published by My Organization. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/rmrlangford/OpenMRS-FHIR-Training/ and changes regularly. See the Directory of published versions

Extension: Patient Marital Status and Effective Date

Official URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-and-effective-date Version: 1.0.0
Active as of 2024-09-13 Computable Name: MaritalStatusAndEffectiveDateExtension

An extension to capture the marital status and the effective date for when the marital status came into effect

Context of Use

This extension may be used on the following element(s):

  • Element ID RelatedPerson

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: An extension to capture the marital status and the effective date for when the marital status came into effect

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension Σ 0..* Extension Patient Marital Status and Effective Date
    ... extension 2..* Extension Extension
    ... Slices for extension Content/Rules for all slices
    .... MaritalStatus 1..1 CodeableConcept Patient Marital Status
    URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status
    Binding: MaritalStatusCodes (extensible)
    .... MaritalStatusDate 1..1 date Patient Marital Status Date
    URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-date
    ... url 1..1 uri "http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-and-effective-date"

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Extension Σ 0..* Extension Patient Marital Status and Effective Date
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 2..* Extension Extension
    Slice: Unordered, Open by value:url
    .... MaritalStatus 1..1 CodeableConcept Patient Marital Status
    URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status
    Binding: MaritalStatusCodes (extensible)
    .... MaritalStatusDate 1..1 date Patient Marital Status Date
    URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-date
    ... url 1..1 uri "http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-and-effective-date"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: An extension to capture the marital status and the effective date for when the marital status came into effect

      Differential View

      This structure is derived from Extension

      NameFlagsCard.TypeDescription & Constraintsdoco
      .. Extension Σ 0..* Extension Patient Marital Status and Effective Date
      ... extension 2..* Extension Extension
      ... Slices for extension Content/Rules for all slices
      .... MaritalStatus 1..1 CodeableConcept Patient Marital Status
      URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status
      Binding: MaritalStatusCodes (extensible)
      .... MaritalStatusDate 1..1 date Patient Marital Status Date
      URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-date
      ... url 1..1 uri "http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-and-effective-date"

      doco Documentation for this format

      Snapshot View

      NameFlagsCard.TypeDescription & Constraintsdoco
      .. Extension Σ 0..* Extension Patient Marital Status and Effective Date
      ... id 0..1 id Unique id for inter-element referencing
      ... Slices for extension 2..* Extension Extension
      Slice: Unordered, Open by value:url
      .... MaritalStatus 1..1 CodeableConcept Patient Marital Status
      URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status
      Binding: MaritalStatusCodes (extensible)
      .... MaritalStatusDate 1..1 date Patient Marital Status Date
      URL: http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-date
      ... url 1..1 uri "http://openmrs-fhir-training/fhir/StructureDefinition/marital-status-and-effective-date"

      doco Documentation for this format

       

      Other representations of profile: CSV, Excel, Schematron

      Constraints

      IdGradePath(s)DetailsRequirements
      ele-1error**ALL** elementsAll FHIR elements must have a @value or children
      : hasValue() or (children().count() > id.count())
      ext-1error**ALL** extensionsMust have either extensions or value[x], not both
      : extension.exists() != value.exists()