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_Organization_ePrescriptionData_departmentOfIssuer

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

JP_Organization_ePrescriptionData_departmentOfIssuer

Status Draft ( 2022-06-29 )

処方を発行した医療機関の診療科情報 JP_Organizationの派生プロファイル

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... name ΣI1..1string診療科の名称
... partOf Σ1..1Reference(Organization)The organization of which this organization forms a part
.... reference ΣI1..1stringこの診療科が所属する医療機関の情報

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Organization.languagepreferredCommonLanguages
Max Binding: AllLanguages
Organization.text.statusrequiredNarrativeStatus
Organization.identifier:MedicalInstitutionCode.userequiredIdentifierUse
Organization.identifier:MedicalInstitutionCode.typeextensibleIdentifier Type Codes
Organization.identifier:InsurerNumber.userequiredIdentifierUse
Organization.identifier:InsurerNumber.typeextensibleIdentifier Type Codes
Organization.typeexampleOrganizationType
Organization.partOf.typeextensibleResourceType
Organization.contact.purposeextensibleContactEntityType

Constraints

IdGradePathDetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeOrganizationA resource should have narrative for robust management
: text.`div`.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
checkOrganizationType0errorOrganization【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
: (type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept')).exists()
checkOrganizationType1errorOrganization【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
: (type[1].exists().not()) or ((type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51' )).exists())
ele-1errorOrganization.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.text.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.text.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.text.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.text.divAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
txt-1errorOrganization.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-2errorOrganization.text.divThe narrative SHALL have some non-whitespace content
: htmlChecks()
ele-1errorOrganization.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.identifier:MedicalInstitutionCode.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifier:MedicalInstitutionCode.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.identifier:InsurerNumber.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifier:InsurerNumber.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1errorOrganization.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1errorOrganization.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.partOf.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.partOf.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.contact.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.contact.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.contact.purposeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())