Standard Health Record FHIR Implementation Guide

SHR Subject Extension

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension

The person or thing that this entry relates to, usually the Person of Record. However, not all entries have health information specifically about the patient, but in different contexts, could refer to a fetus, family member (living or dead), device, location, organization, finding, condition, or intervention.

This profile builds on Extension.

This profile was published on Tue Feb 27 00:00:00 EST 2018 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR Subject Extension
choice-1: shr-base-Subject-extension SHALL have either extension('patient') or extension('group') or extension('device') or extension('location') or extension('relatedperson') or extension('organization')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"
... value[x] 0..0
... shr-entity-Patient-extension 0..1Reference(SHR Patient Profile)SHR Patient Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient-extension
... shr-entity-Group-extension 0..1Reference(SHR Group Profile)SHR Group Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group-extension
... shr-device-Device-extension 0..1Reference(SHR Device Profile)SHR Device Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension
... shr-core-Location-extension 0..1(Complex)SHR Location Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension
... shr-entity-RelatedPerson-extension 0..1Reference(SHR RelatedPerson Profile)SHR RelatedPerson Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson-extension
... shr-entity-Organization-extension 0..1Reference(SHR Organization Profile)SHR Organization Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization-extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR Subject Extension
choice-1: shr-base-Subject-extension SHALL have either extension('patient') or extension('group') or extension('device') or extension('location') or extension('relatedperson') or extension('organization')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-entity-Patient-extension 0..1Reference(SHR Patient Profile)SHR Patient Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient-extension
... shr-entity-Group-extension 0..1Reference(SHR Group Profile)SHR Group Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group-extension
... shr-device-Device-extension 0..1Reference(SHR Device Profile)SHR Device Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension
... shr-core-Location-extension 0..1(Complex)SHR Location Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension
... shr-entity-RelatedPerson-extension 0..1Reference(SHR RelatedPerson Profile)SHR RelatedPerson Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson-extension
... shr-entity-Organization-extension 0..1Reference(SHR Organization Profile)SHR Organization Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR Subject Extension
choice-1: shr-base-Subject-extension SHALL have either extension('patient') or extension('group') or extension('device') or extension('location') or extension('relatedperson') or extension('organization')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"
... value[x] 0..0
... shr-entity-Patient-extension 0..1Reference(SHR Patient Profile)SHR Patient Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient-extension
... shr-entity-Group-extension 0..1Reference(SHR Group Profile)SHR Group Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group-extension
... shr-device-Device-extension 0..1Reference(SHR Device Profile)SHR Device Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension
... shr-core-Location-extension 0..1(Complex)SHR Location Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension
... shr-entity-RelatedPerson-extension 0..1Reference(SHR RelatedPerson Profile)SHR RelatedPerson Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson-extension
... shr-entity-Organization-extension 0..1Reference(SHR Organization Profile)SHR Organization Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization-extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR Subject Extension
choice-1: shr-base-Subject-extension SHALL have either extension('patient') or extension('group') or extension('device') or extension('location') or extension('relatedperson') or extension('organization')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-entity-Patient-extension 0..1Reference(SHR Patient Profile)SHR Patient Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient-extension
... shr-entity-Group-extension 0..1Reference(SHR Group Profile)SHR Group Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group-extension
... shr-device-Device-extension 0..1Reference(SHR Device Profile)SHR Device Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension
... shr-core-Location-extension 0..1(Complex)SHR Location Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension
... shr-entity-RelatedPerson-extension 0..1Reference(SHR RelatedPerson Profile)SHR RelatedPerson Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson-extension
... shr-entity-Organization-extension 0..1Reference(SHR Organization Profile)SHR Organization Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: children().count() > id.count()
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
choice-1Extensionshr-base-Subject-extension SHALL have either extension('patient') or extension('group') or extension('device') or extension('location') or extension('relatedperson') or extension('organization')
: ( extension('patient').url | extension('group').url | extension('device').url | extension('location').url | extension('relatedperson').url | extension('organization').url ).distinct().count() == 1