This page is part of the 臺灣核心實作指引(TW Core IG) (v0.1.1: Releases) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Active as of 2023-08-30 |
TTL representation of the TWMedicationRequest logical model.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "TWMedicationRequest"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>" ] ; # fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationRequest"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.1"] ; # fhir:name [ fhir:v "TWMedicationRequestModel"] ; # fhir:title [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-08-30T12:27:08+08:00"^^xsd:dateTime] ; # fhir:contact ( [ fhir:name [ fhir:v "衛生福利部" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.mohw.gov.tw/" ] ] [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "CCYU@mohw.gov.tw" ] ] ) ] ) ; # fhir:description [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型"] ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:uri [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore"^^xsd:anyURI ] ; fhir:name [ fhir:v "TW Core IG" ] ] ) ; # fhir:kind [ fhir:v "logical"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationRequest"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Base> ] ; # fhir:derivation [ fhir:v "specialization"] ; # fhir:snapshot [ ( fhir:element [ fhir:id [ fhir:v "TWMedicationRequest" ] ; fhir:path [ fhir:v "TWMedicationRequest" ] ; fhir:short [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型" ] ; fhir:definition [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Base" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.text" ] ; fhir:path [ fhir:v "TWMedicationRequest.text" ] ; fhir:short [ fhir:v "內容摘要以供人閱讀" ] ; fhir:definition [ fhir:v "內容摘要以供人閱讀" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Narrative"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.text" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.identifier" ] ; fhir:path [ fhir:v "TWMedicationRequest.identifier" ] ; fhir:short [ fhir:v "藥品處方的外部識別碼" ] ; fhir:definition [ fhir:v "藥品處方的外部識別碼" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.identifier" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.status" ] ; fhir:path [ fhir:v "TWMedicationRequest.status" ] ; fhir:short [ fhir:v "藥品處方的狀態" ] ; fhir:definition [ fhir:v "藥品處方的狀態" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.status" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.status" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.intent" ] ; fhir:path [ fhir:v "TWMedicationRequest.intent" ] ; fhir:short [ fhir:v "藥品處方的意圖" ] ; fhir:definition [ fhir:v "藥品處方的意圖" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.intent" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.intent" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.category" ] ; fhir:path [ fhir:v "TWMedicationRequest.category" ] ; fhir:short [ fhir:v "藥品處方的類別" ] ; fhir:definition [ fhir:v "藥品處方的類別" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.category" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.category" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.medication[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.medication[x]" ] ; fhir:short [ fhir:v "服用的藥品" ] ; fhir:definition [ fhir:v "服用的藥品" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.medication[x]" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Medication"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.medication[x]" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.subject[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.subject[x]" ] ; fhir:short [ fhir:v "開立此藥品處方的對象" ] ; fhir:definition [ fhir:v "開立此藥品處方的對象" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.subject[x]" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Patient"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Group"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.subject.Reference(TW Core Patient | Group)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.encounter" ] ; fhir:path [ fhir:v "TWMedicationRequest.encounter" ] ; fhir:short [ fhir:v "與此藥品處方紀錄密切相關的就醫" ] ; fhir:definition [ fhir:v "與此藥品處方紀錄密切相關的就醫" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.encounter" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Encounter"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.encounter.Reference(TW Core Encounter)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.authoredOn" ] ; fhir:path [ fhir:v "TWMedicationRequest.authoredOn" ] ; fhir:short [ fhir:v "藥品處方最初請求時間" ] ; fhir:definition [ fhir:v "藥品處方最初請求時間" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.authoredOn" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.authoredOn" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.requester[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.requester[x]" ] ; fhir:short [ fhir:v "提出藥品處方的人/對象" ] ; fhir:definition [ fhir:v "提出藥品處方的人/對象" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.requester[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Practitioner"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "PractitionerRole"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Organization"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Patient"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "RelatedPerson"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Device"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.requester.Reference(TW Core Practitioner | PractitionerRole | TW Core Organization Hospital Department | TW Core Patient | RelatedPerson | Device)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.reasonReference[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.reasonReference[x]" ] ; fhir:short [ fhir:v "開立處方的原因" ] ; fhir:definition [ fhir:v "開立處方的原因" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.reasonReference[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Condition"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Observation"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.reasonReference.Reference(TW Core Condition | TW Core Observation Laboratory Result)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.note" ] ; fhir:path [ fhir:v "TWMedicationRequest.note" ] ; fhir:short [ fhir:v "關於處方的資訊" ] ; fhir:definition [ fhir:v "關於處方的資訊" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.note" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Annotation"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.note" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dosageInstruction" ] ; fhir:path [ fhir:v "TWMedicationRequest.dosageInstruction" ] ; fhir:short [ fhir:v "應該如何用藥" ] ; fhir:definition [ fhir:v "應該如何用藥" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.dosageInstruction" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Dosage"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dosageInstruction" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest" ] ; fhir:short [ fhir:v "藥品供應授權" ] ; fhir:definition [ fhir:v "藥品供應授權" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.id" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.extension" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.modifierExtension" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:short [ fhir:v "處方可用以配藥的有效期限" ] ; fhir:definition [ fhir:v "處方可用以配藥的有效期限" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.validityPeriod" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:short [ fhir:v "可重複領藥的次數" ] ; fhir:definition [ fhir:v "可重複領藥的次數" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:short [ fhir:v "每次配藥可持續的天數" ] ; fhir:definition [ fhir:v "每次配藥可持續的天數" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Duration"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ] ) ] ) ] ; # fhir:differential [ ( fhir:element [ fhir:id [ fhir:v "TWMedicationRequest" ] ; fhir:path [ fhir:v "TWMedicationRequest" ] ; fhir:short [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型" ] ; fhir:definition [ fhir:v "臺灣核心-藥品處方(TW Core MedicationRequest) 之資料模型" ] ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.text" ] ; fhir:path [ fhir:v "TWMedicationRequest.text" ] ; fhir:short [ fhir:v "內容摘要以供人閱讀" ] ; fhir:definition [ fhir:v "內容摘要以供人閱讀" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Narrative"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.text" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.identifier" ] ; fhir:path [ fhir:v "TWMedicationRequest.identifier" ] ; fhir:short [ fhir:v "藥品處方的外部識別碼" ] ; fhir:definition [ fhir:v "藥品處方的外部識別碼" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.identifier" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.status" ] ; fhir:path [ fhir:v "TWMedicationRequest.status" ] ; fhir:short [ fhir:v "藥品處方的狀態" ] ; fhir:definition [ fhir:v "藥品處方的狀態" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.status" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.intent" ] ; fhir:path [ fhir:v "TWMedicationRequest.intent" ] ; fhir:short [ fhir:v "藥品處方的意圖" ] ; fhir:definition [ fhir:v "藥品處方的意圖" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.intent" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.category" ] ; fhir:path [ fhir:v "TWMedicationRequest.category" ] ; fhir:short [ fhir:v "藥品處方的類別" ] ; fhir:definition [ fhir:v "藥品處方的類別" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.category" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.medication[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.medication[x]" ] ; fhir:short [ fhir:v "服用的藥品" ] ; fhir:definition [ fhir:v "服用的藥品" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Medication"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.medication[x]" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.subject[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.subject[x]" ] ; fhir:short [ fhir:v "開立此藥品處方的對象" ] ; fhir:definition [ fhir:v "開立此藥品處方的對象" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Patient"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Group"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.subject.Reference(TW Core Patient | Group)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.encounter" ] ; fhir:path [ fhir:v "TWMedicationRequest.encounter" ] ; fhir:short [ fhir:v "與此藥品處方紀錄密切相關的就醫" ] ; fhir:definition [ fhir:v "與此藥品處方紀錄密切相關的就醫" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Encounter"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.encounter.Reference(TW Core Encounter)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.authoredOn" ] ; fhir:path [ fhir:v "TWMedicationRequest.authoredOn" ] ; fhir:short [ fhir:v "藥品處方最初請求時間" ] ; fhir:definition [ fhir:v "藥品處方最初請求時間" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.authoredOn" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.requester[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.requester[x]" ] ; fhir:short [ fhir:v "提出藥品處方的人/對象" ] ; fhir:definition [ fhir:v "提出藥品處方的人/對象" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Practitioner"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "PractitionerRole"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Organization"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Patient"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "RelatedPerson"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Device"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.requester.Reference(TW Core Practitioner | PractitionerRole | TW Core Organization Hospital Department | TW Core Patient | RelatedPerson | Device)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.reasonReference[x]" ] ; fhir:path [ fhir:v "TWMedicationRequest.reasonReference[x]" ] ; fhir:short [ fhir:v "開立處方的原因" ] ; fhir:definition [ fhir:v "開立處方的原因" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; ( fhir:type [ fhir:code [ fhir:v "Condition"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Observation"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.reasonReference.Reference(TW Core Condition | TW Core Observation Laboratory Result)" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.note" ] ; fhir:path [ fhir:v "TWMedicationRequest.note" ] ; fhir:short [ fhir:v "關於處方的資訊" ] ; fhir:definition [ fhir:v "關於處方的資訊" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; ( fhir:type [ fhir:code [ fhir:v "Annotation"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.note" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dosageInstruction" ] ; fhir:path [ fhir:v "TWMedicationRequest.dosageInstruction" ] ; fhir:short [ fhir:v "應該如何用藥" ] ; fhir:definition [ fhir:v "應該如何用藥" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; ( fhir:type [ fhir:code [ fhir:v "Dosage"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dosageInstruction" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest" ] ; fhir:short [ fhir:v "藥品供應授權" ] ; fhir:definition [ fhir:v "藥品供應授權" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:short [ fhir:v "處方可用以配藥的有效期限" ] ; fhir:definition [ fhir:v "處方可用以配藥的有效期限" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.validityPeriod" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:short [ fhir:v "可重複領藥的次數" ] ; fhir:definition [ fhir:v "可重複領藥的次數" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ] ) ] [ fhir:id [ fhir:v "TWMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:path [ fhir:v "TWMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:short [ fhir:v "每次配藥可持續的天數" ] ; fhir:definition [ fhir:v "每次配藥可持續的天數" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Duration"^^xsd:anyURI ] ] ) ; ( fhir:mapping [ fhir:identity [ fhir:v "TWMedicationRequest" ] ; fhir:map [ fhir:v "TWCoreMedicationRequest.dispenseRequest.expectedSupplyDuration" ] ] ) ] ) ] . #
IG © 2022+ 衛生福利部. Package tw.gov.mohw.twcore#0.1.1 based on FHIR 4.0.1. Generated 2023-08-30
Links: Table of Contents |
QA Report
| Version History |
Propose a change