0.4.4 - ci-build
StandardPatientHealthRecordIG - Local Development build (v0.4.4). See the Directory of published versions
Draft as of 2023-03-03 |
@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:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "HKCategorySamplePregnancyToObservation"] ; #
fhir:text [
fhir:status [ fhir:v "additional" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre>map "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureMap/HKCategorySamplePregnancyToObservation" = "HKCategorySamplePregnancyToObservation"\n\nuses "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-healthkit-sample" alias HKCategorySamplePregnancy as source\n\nuses "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus" alias UsCoreObservationPregnancyStatus as target\n\ngroup HKCategorySamplePregnancyToObservation ( \n source sample : HKCategorySamplePregnancy\n target observation : UsCoreObservationPregnancyStatus\n) {\n sample -> observation.status = "final" "set status";\n sample -> observation.category as category, category.coding as coding then {\n sample -> coding.system = "http://terminology.hl7.org/CodeSystem/observation-category" "set category code system";\n sample -> coding.code = "social-history" "set category code";\n } "set category";\n sample -> observation.code as code, code.coding as coding then {\n sample -> coding.system = "http://loinc.org" "set code system";\n sample -> coding.code = "82810-3" "set code";\n } "set code";\n sample.startDate as startDate -> observation.effectiveDateTime = startDate "startDate to effectiveDateTime";\n sample -> observation.valueCodeableConcept as value, value.coding as coding then {\n sample -> coding.system = "http://snomed.info/sct" "set value system";\n sample -> coding.code = "77386006" "set value";\n } "set valueCodeableConcept";\n}</pre></div>"
] ; #
fhir:url [ fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureMap/HKCategorySamplePregnancyToObservation"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.4.4"] ; #
fhir:name [ fhir:v "HKCategorySamplePregnancyToObservation"] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:date [ fhir:v "2023-03-03T21:03:08+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "MITRE"] ; #
fhir:contact ( [
fhir:name [ fhir:v "MITRE" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig" ] ] )
] ) ; #
fhir:structure ( [
fhir:url [
fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-healthkit-sample"^^xsd:anyURI ;
fhir:link <https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-healthkit-sample> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "HKCategorySamplePregnancy" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "UsCoreObservationPregnancyStatus" ]
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "HKCategorySamplePregnancyToObservation" ] ;
fhir:typeMode [ fhir:v "none" ] ;
( fhir:input [
fhir:name [ fhir:v "sample" ] ;
fhir:type [ fhir:v "HKCategorySamplePregnancy" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "observation" ] ;
fhir:type [ fhir:v "UsCoreObservationPregnancyStatus" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "set status" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "final" ] ] ) ] ) ] [
fhir:name [ fhir:v "set category" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "category" ] ;
fhir:variable [ fhir:v "category" ] ] [
fhir:context [ fhir:v "category" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "set category code system" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category" ] ] ) ] ) ] [
fhir:name [ fhir:v "set category code" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "social-history" ] ] ) ] ) ] ) ] [
fhir:name [ fhir:v "set code" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "code" ] ] [
fhir:context [ fhir:v "code" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "set code system" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ] ] ) ] ) ] [
fhir:name [ fhir:v "set code" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "82810-3" ] ] ) ] ) ] ) ] [
fhir:name [ fhir:v "startDate to effectiveDateTime" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ;
fhir:element [ fhir:v "startDate" ] ;
fhir:variable [ fhir:v "startDate" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "effectiveDateTime" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "startDate" ] ] ) ] ) ] [
fhir:name [ fhir:v "set valueCodeableConcept" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "valueCodeableConcept" ] ;
fhir:variable [ fhir:v "value" ] ] [
fhir:context [ fhir:v "value" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "set value system" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "http://snomed.info/sct" ] ] ) ] ) ] [
fhir:name [ fhir:v "set value" ] ;
( fhir:source [
fhir:context [ fhir:v "sample" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "77386006" ] ] ) ] ) ] ) ] )
] ) . #
IG © 2022+ MITRE. Package StandardPatientHealthRecordIG#0.4.4 based on FHIR 4.0.1. Generated 2023-03-03
Links: Table of Contents |
QA Report