This is an old revision of the document!
Table of Contents
Hent udvidbar liste af værdier for enumerationer
Service anvendes til at hente en udvidbar liste af værdier, som et element af en given type kan have i FMK.
Hvis eksempelvis mulige værdier ønskes for element-typen “OrderCancellationReasonType”, kan denne service benyttes, hvor værdierne defineret i dette element returneres.
Forespørgsel
I forespørgslen angives et eller flere elementer af typen EnumerationName. Dette element indeholder navnet på en specifik FMK-type, hvis (udvidbare) liste af mulige værdier ønskes.
En liste af mulige enumeration-værdier, som kan angives i forespørgslsen, findes i bunden af dette dokument. Alternativt kan servicen selv kaldes med et EnumerationName-element med værdien EnumerationValueType i forespørgslsen.
- ListEnumerationValuesForTypeRequest.xml
<ListEnumerationValuesForTypeRequest> <EnumerationName>OrderCancellationReasonType</EnumerationName> <EnumerationName>PatientRegistrationExpirationReasonType</EnumerationName> <EnumerationName>HealthcareProfessionalIdentifierSourceType</EnumerationName </ListEnumerationValuesForTypeRequest>
- ListEnumerationValuesForTypeRequest-2.xml
<ListEnumerationValuesForTypeRequest> <EnumerationName>EnumerationValueType</EnumerationName> </ListEnumerationValuesForTypeRequest>
Svar
Svaret indeholder en række EnumerationEntry-elementer. Disse indeholder:
EnumerationNameType, det medsendte navn på en given enumeration- En række
EnumerationEntryValue-elementer. Hvert af disse indeholder enEntryValuemed den enkelte værdi. Optionelt kan elementet også indeholde enDescription, med en kort beskrivelse af værdien. Sidst kan elementet optionelt indeholde enWarningmed en advarsel om potentielle konsekvenser ved brug af denne værdi.
- ListEnumerationValuesForTypeResponse.xml
<ListEnumerationValuesForTypeResponse> <EnumerationEntry> <EnumerationNameType>OrderCancellationReasonType</EnumerationNameType> <EnumerationEntryValue> <EntryValue>Årsag ikke angivet</EntryValue> <Warning>Bør ikke sættes af klientsystem</Warning> </EnumerationEntryValue> <EnumerationEntryValue> <EntryValue>Fejl i leveringsoplysninger</EntryValue> </EnumerationEntryValue> <EnumerationEntryValue> <EntryValue>Udleveringsgrundlaget er lukket</EntryValue> </EnumerationEntryValue> <EnumerationEntryValue> <EntryValue>Ny bestilling overtager</EntryValue> </EnumerationEntryValue> </EnumerationEntry> <EnumerationEntry>...</EnumerationEntry> <EnumerationEntry>...</RolesPermissions> <EnumerationEntry>...</EnumerationEntry> </ListEnumerationValuesForTypeResponse>
Liste af enumerationer i FMK 1.6.0
- ActiveSubstanceSourceType
- ActiveSubstanceTextSourceType
- AcutePackingType
- AdministrationInstructionType
- ATCCodeSourceType
- ConsentSourceType
- ConsentTypeType
- ContentType
- DiscardReasonType
- DispensingStatusType
- DispensingTypeType
- DoseTimeType
- DrugFormCodeSourceType
- DrugIdentifierSourceType
- DrugMedicationEndedReasonType
- DrugMedicationTypeType
- DrugPartTypeType
- DrugStrengthTextSourceType
- DrugStrengthUnitCodeSourceType
- EnumerationValueType
- HealthcareProfessionalIdentifierSourceType
- HealthcareProfessionalInformationSourceType
- IndicationCodeSourceType
- InformationChangeTypeType
- ModificationMetadataType
- OrderCancellationReasonType
- OrderStatusType
- OrganisationIdentifierSourceType
- OrganisationTypeType
- PackageNumberSourceType
- PackageSizeUnitCodeSourceType
- PagingObjectType
- PatientOrganisationRelationTypeType
- PatientRegistrationExpirationReasonType
- PatientRegistrationTypeType
- PermissionType
- PersonIdentifierSourceType
- PersonIdentifierValidityStatusType
- PlannedDoseTimeType
- IssuerOrganisationRetrievalContextType
- PrintTypeType
- ProductionDayType
- RenewalReasonType
- RequestedRoleType
- RequestForWarrantCancellationReasonType
- RequestForWarrantStatusType
- RouteOfAdministrationSourceType
- SpecialityCodeSourceType
- SubstanceIdentifierSourceType
- SystemTypeType
- TimeUnitBetweenType
- TimeUnitType
- TrackAndTraceEventTypeType
- WarningSeverityType
- WarrantRenewalReasonType
- WarrantStatusType
