eMediplan CHMED16AF Implementation Guide:

StructureDefinition: chmed16af-pmcrx-patient

Formal Views of Profile Content

The official URL for this profile is:

http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-pmcrx-patient

Profile on Patient (PolyMedicationCheck, Prescription)

This profile builds on Patient.

This profile was published on Tue Jun 11 11:36:31 CEST 2019 as a draft by IG eMediplan.

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

This structure is derived from Patient

Summary

Mandatory: 5 elements
Fixed Value: 1 element
Prohibited: 9 elements

Extensions

This structure refers to these extensions:

This structure is derived from Patient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 1..1Patient within Medication Plan
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... identifier 1..1Identifier
.... system 1..1uriFixed Value: urn:oid:2.16.756.5.30.1.123.100.1.1.1
.... value 1..1stringInsurance card number for this patient
... active 0..0
... name 1..1HumanNameName for this patient
... telecom Σ0..1ContactPointtelephone number
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate Σ1..1dateThe date of birth for the individual
... deceased[x] 0..0
... address Σ0..1AddressAddress for the patient
... maritalStatus 0..0
... multipleBirth[x] 0..0
... photo 0..0
... contact 0..0
... generalPractitioner 0..0
... managingOrganization 0..0
... link 0..0

doco Documentation for this format

This structure is derived from Patient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient I1..1Patient within Medication Plan
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierAn identifier for this patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:oid:2.16.756.5.30.1.123.100.1.1.1
.... value Σ1..1stringInsurance card number for this patient
Example General': 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name Σ1..1HumanNameName for this patient
... telecom Σ0..1ContactPointtelephone number
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate Σ1..1dateThe date of birth for the individual
... address Σ0..1AddressAddress for the patient
... communication I0..*BackboneElementA language which may be used to communicate with the patient about his or her health
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... language 1..1CodeableConceptThe language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
.... preferred 0..1booleanLanguage preference indicator

doco Documentation for this format

This structure is derived from Patient

Summary

Mandatory: 5 elements
Fixed Value: 1 element
Prohibited: 9 elements

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from Patient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 1..1Patient within Medication Plan
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... identifier 1..1Identifier
.... system 1..1uriFixed Value: urn:oid:2.16.756.5.30.1.123.100.1.1.1
.... value 1..1stringInsurance card number for this patient
... active 0..0
... name 1..1HumanNameName for this patient
... telecom Σ0..1ContactPointtelephone number
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate Σ1..1dateThe date of birth for the individual
... deceased[x] 0..0
... address Σ0..1AddressAddress for the patient
... maritalStatus 0..0
... multipleBirth[x] 0..0
... photo 0..0
... contact 0..0
... generalPractitioner 0..0
... managingOrganization 0..0
... link 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient I1..1Patient within Medication Plan
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierAn identifier for this patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:oid:2.16.756.5.30.1.123.100.1.1.1
.... value Σ1..1stringInsurance card number for this patient
Example General': 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name Σ1..1HumanNameName for this patient
... telecom Σ0..1ContactPointtelephone number
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate Σ1..1dateThe date of birth for the individual
... address Σ0..1AddressAddress for the patient
... communication I0..*BackboneElementA language which may be used to communicate with the patient about his or her health
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... language 1..1CodeableConceptThe language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
.... preferred 0..1booleanLanguage preference indicator

doco Documentation for this format

 

Constraints

IdPathDetailsRequirements
dom-2PatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-4PatientIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3PatientIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-6PatientA resource should have narrative for robust management
: text.div.exists()
dom-5PatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
ele-1Patient.communicationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
.