JAMI ePrescriptionData ImplementationGuide
1.0.0 - ci-build

JAMI ePrescriptionData ImplementationGuide - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile(リソースプロファイル): JP_Encounter_ePrescriptionData

項目内容
定義URL http://jpfhir.jp/fhir/ePrescription/StructureDefinition/JP_Encounter_ePrescriptionData
Version 1.0.0
Name

JP_Encounter_ePrescriptionData

Status Draft ( 2022-06-29 )

処方発行時の入退院受診情報などEncouter情報 JP_Encounterの派生プロファイル

Usage:

Formal Views of Profile Content

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

This structure is derived from JP_Encounter

Summary

Mandatory: 2 elements
Must-Support: 5 elements
Fixed Value: 2 elements
Prohibited: 19 elements

This structure is derived from JP_Encounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*JP_EncounterAn interaction during which services are provided to the patient / 患者さんにサービスが提供されている間の相互作用
... text
.... status 1..1codegenerated | extensions | additional | empty
.... div 1..1xhtmlLimited xhtml content
... status S1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+
Fixed Value: finished
... class S1..1CodingClassification of patient encounter / 患者とのEncouterの分類
.... system S1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code S1..1codeSymbol in syntax defined by the system
Binding: ActEncounterCode (extensible)
.... display S0..1stringRepresentation defined by the system
... classHistory 0..0
... type 0..0
... serviceType 0..0
... priority 0..0
... subject 0..0
... episodeOfCare 0..0
... basedOn 0..0
... participant 0..0
... appointment 0..0
... period 0..0
... length 0..0
... reasonCode 0..0
... reasonReference 0..0
... diagnosis 0..0
... account 0..0
... hospitalization 0..0
... location 0..0
... serviceProvider 0..0
... partOf 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*JP_EncounterAn interaction during which services are provided to the patient / 患者さんにサービスが提供されている間の相互作用
... id Σ0..1stringLogical 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): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... status 1..1codegenerated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.

.... div I1..1xhtmlLimited xhtml content
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known / このEncounterが知られている識別子(複数可)
... status ?!SΣ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+
Binding: EncounterStatus (required): Current state of the encounter.


Fixed Value: finished
... statusHistory 0..*BackboneElementList of past encounter statuses / 過去のEncouterのステータス一覧
.... 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
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+.
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status / そのエピソードが指定された状態になっていた時間。
... class SΣ1..1CodingClassification of patient encounter / 患者とのEncouterの分類
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... version Σ0..1stringVersion of the system - if relevant
.... code SΣ1..1codeSymbol in syntax defined by the system
Binding: ActEncounterCode (extensible)
.... display SΣ0..1stringRepresentation defined by the system
.... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*JP_EncounterAn interaction during which services are provided to the patient / 患者さんにサービスが提供されている間の相互作用
... status ?!Σ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+
Binding: EncounterStatus (required): Current state of the encounter.


Fixed Value: finished
... class Σ1..1CodingClassification of patient encounter / 患者とのEncouterの分類
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code Σ1..1codeSymbol in syntax defined by the system
Binding: ActEncounterCode (extensible)
.... display Σ0..1stringRepresentation defined by the system

doco Documentation for this format

This structure is derived from JP_Encounter

Summary

Mandatory: 2 elements
Must-Support: 5 elements
Fixed Value: 2 elements
Prohibited: 19 elements

Differential View

This structure is derived from JP_Encounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*JP_EncounterAn interaction during which services are provided to the patient / 患者さんにサービスが提供されている間の相互作用
... text
.... status 1..1codegenerated | extensions | additional | empty
.... div 1..1xhtmlLimited xhtml content
... status S1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+
Fixed Value: finished
... class S1..1CodingClassification of patient encounter / 患者とのEncouterの分類
.... system S1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code S1..1codeSymbol in syntax defined by the system
Binding: ActEncounterCode (extensible)
.... display S0..1stringRepresentation defined by the system
... classHistory 0..0
... type 0..0
... serviceType 0..0
... priority 0..0
... subject 0..0
... episodeOfCare 0..0
... basedOn 0..0
... participant 0..0
... appointment 0..0
... period 0..0
... length 0..0
... reasonCode 0..0
... reasonReference 0..0
... diagnosis 0..0
... account 0..0
... hospitalization 0..0
... location 0..0
... serviceProvider 0..0
... partOf 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*JP_EncounterAn interaction during which services are provided to the patient / 患者さんにサービスが提供されている間の相互作用
... id Σ0..1stringLogical 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): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... status 1..1codegenerated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.

.... div I1..1xhtmlLimited xhtml content
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known / このEncounterが知られている識別子(複数可)
... status ?!SΣ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+
Binding: EncounterStatus (required): Current state of the encounter.


Fixed Value: finished
... statusHistory 0..*BackboneElementList of past encounter statuses / 過去のEncouterのステータス一覧
.... 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
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled + / 予定|到着|トリアージ|進行中|保留中|終了|キャンセル+.
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status / そのエピソードが指定された状態になっていた時間。
... class SΣ1..1CodingClassification of patient encounter / 患者とのEncouterの分類
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... version Σ0..1stringVersion of the system - if relevant
.... code SΣ1..1codeSymbol in syntax defined by the system
Binding: ActEncounterCode (extensible)
.... display SΣ0..1stringRepresentation defined by the system
.... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Encounter.languagepreferredCommonLanguages
Max Binding: AllLanguages
Encounter.text.statusrequiredNarrativeStatus
Encounter.statusrequiredFixed Value: finished
Encounter.statusHistory.statusrequiredEncounterStatus
Encounter.classextensibleActEncounterCode
Encounter.class.codeextensibleActEncounterCode
Encounter.classHistory.classextensibleActEncounterCode
Encounter.participant.typeextensibleParticipantType
Encounter.diagnosis.usepreferredDiagnosisRole
Encounter.hospitalization.admitSourcepreferredAdmitSource
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
Encounter.hospitalization.dietPreferenceexampleDiet
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
Encounter.location.statusrequiredEncounterLocationStatus
Encounter.location.physicalTypeexampleLocationType

Constraints

IdGradePathDetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorEncounter.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.text.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.text.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.text.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.text.divAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
txt-1errorEncounter.text.divThe narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes
: htmlChecks()
txt-2errorEncounter.text.divThe narrative SHALL have some non-whitespace content
: htmlChecks()
ele-1errorEncounter.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistory.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.statusHistory.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.statusHistory.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.statusHistory.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.statusHistory.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistory.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.class.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.class.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.class.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.class.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.class.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.class.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.class.userSelectedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classHistory.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.classHistory.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.classHistory.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.classHistory.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.classHistory.classAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classHistory.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.individualAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.diagnosis.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.diagnosis.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.diagnosis.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.diagnosis.conditionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.rankAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.hospitalization.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.hospitalization.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.hospitalization.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.hospitalization.preAdmissionIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.originAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.admitSourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.reAdmissionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.dietPreferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.specialCourtesyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.specialArrangementAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.destinationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.dischargeDispositionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.physicalTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())